net.sourceforge.dvb.projectx.parser
Class StreamBuffer

java.lang.Object
  |
  +--net.sourceforge.dvb.projectx.parser.StreamBuffer

public class StreamBuffer
extends java.lang.Object

stuff for pre-buffering of PID data


Constructor Summary
StreamBuffer()
           
 
Method Summary
 void count()
           
 void countPVA()
           
 int getCounter()
           
 java.io.ByteArrayOutputStream getData()
           
 int getDataSize()
           
 int getDemux()
           
 int getID()
           
 int getPID()
           
 boolean getScram()
           
 boolean isneeded()
           
 boolean isStarted()
           
 void reset()
           
 void setCounter(int val)
           
 void setDemux(int val)
           
 void setID(int val)
           
 void setneeded(boolean b)
           
 void setPID(int val)
           
 void setScram(boolean b)
           
 void setStarted(boolean b)
           
 void writeData(byte[] data, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamBuffer

public StreamBuffer()
Method Detail

setStarted

public void setStarted(boolean b)

isStarted

public boolean isStarted()

setScram

public void setScram(boolean b)

getScram

public boolean getScram()

setID

public void setID(int val)

getID

public int getID()

setCounter

public void setCounter(int val)

getCounter

public int getCounter()

count

public void count()

countPVA

public void countPVA()

setPID

public void setPID(int val)

getPID

public int getPID()

setDemux

public void setDemux(int val)

getDemux

public int getDemux()

setneeded

public void setneeded(boolean b)

isneeded

public boolean isneeded()

writeData

public void writeData(byte[] data,
                      int off,
                      int len)

getData

public java.io.ByteArrayOutputStream getData()

getDataSize

public int getDataSize()

reset

public void reset()