edu.umd.cfar.lamp.mpeg1.system
Class Packet

java.lang.Object
  extended byedu.umd.cfar.lamp.mpeg1.system.Packet
All Implemented Interfaces:
edu.umd.cfar.lamp.mpeg1.system.Indexable, edu.umd.cfar.lamp.mpeg1.system.StateParsable

public class Packet
extends java.lang.Object
implements edu.umd.cfar.lamp.mpeg1.system.Indexable

Corresponds to packet() in ISO/IEC 11172-1.


Constructor Summary
Packet()
           
 
Method Summary
 void index(Bitstream bitstream, IndexerState indexerState, SystemIndex systemIndex)
           
 void parse(Bitstream bitstream, ParserState parserState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Packet

public Packet()
Method Detail

parse

public void parse(Bitstream bitstream,
                  ParserState parserState)
           throws java.io.IOException
Specified by:
parse in interface edu.umd.cfar.lamp.mpeg1.system.StateParsable
Throws:
java.io.IOException

index

public void index(Bitstream bitstream,
                  IndexerState indexerState,
                  SystemIndex systemIndex)
           throws java.io.IOException
Specified by:
index in interface edu.umd.cfar.lamp.mpeg1.system.Indexable
Throws:
java.io.IOException