com.soscompany.mpeg.structures
Class MPEGStructure

java.lang.Object
  extended by com.soscompany.utils.BitsStructure
      extended by com.soscompany.mpeg.structures.MPEGStructure
All Implemented Interfaces:
MPEGConsts
Direct Known Subclasses:
MPEG2Structure, MPEG4P2Structure, ParseError

public class MPEGStructure
extends BitsStructure
implements MPEGConsts


Field Summary
 java.util.LinkedList childs
           
 
Fields inherited from class com.soscompany.utils.BitsStructure
content, sizeOfDataRead
 
Constructor Summary
MPEGStructure(MPEGElementaryStream file, MPEGStructure parent)
           
 
Method Summary
 void addChild(MPEGStructure child)
           
 java.lang.Object getData()
           
 void next_start_code()
           
 void Parse()
           
 void parseChild(MPEGStructure child)
           
 void setData(java.lang.Object data)
           
 
Methods inherited from class com.soscompany.utils.BitsStructure
bytealigned, getBits, getBits, getSizeOfDataRead, nextbits_bytealigned, nextbits_bytealigned, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

childs

public java.util.LinkedList childs
Constructor Detail

MPEGStructure

public MPEGStructure(MPEGElementaryStream file,
                     MPEGStructure parent)
Method Detail

setData

public void setData(java.lang.Object data)

getData

public java.lang.Object getData()

addChild

public void addChild(MPEGStructure child)
              throws java.lang.Exception
Throws:
java.lang.Exception

parseChild

public void parseChild(MPEGStructure child)
                throws java.lang.Exception
Throws:
java.lang.Exception

Parse

public void Parse()
           throws java.lang.Exception
Overrides:
Parse in class BitsStructure
Throws:
java.lang.Exception

next_start_code

public void next_start_code()
                     throws java.lang.Exception
Throws:
java.lang.Exception