edu.umd.cfar.lamp.mpeg1
Class Mpeg1SystemStream
java.lang.Object
java.io.InputStream
edu.umd.cfar.lamp.mpeg1.Mpeg1SystemStream
- public class Mpeg1SystemStream
- extends java.io.InputStream
Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Mpeg1SystemStream
public Mpeg1SystemStream(java.io.File file)
throws java.io.IOException
Mpeg1SystemStream
public Mpeg1SystemStream(java.io.File file,
SystemIndex systemIndex)
throws java.io.IOException
writeIndex
public void writeIndex(java.io.File file)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
writeIndex
public void writeIndex(java.io.OutputStream out)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
writeIndex
public void writeIndex(java.awt.Component parentComponent,
java.lang.Object message,
java.io.File file)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
writeIndex
public void writeIndex(java.awt.Component parentComponent,
java.lang.Object message,
java.io.OutputStream out)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
readIndex
public void readIndex(java.io.File file)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
readIndex
public void readIndex(java.io.InputStream in)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
copyStream
public Mpeg1SystemStream copyStream()
throws java.io.IOException
- Throws:
java.io.IOException
setSystemIndex
public void setSystemIndex(SystemIndex systemIndex)
setStream
public void setStream(int stream_id)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
getStreamID
public int getStreamID()
getStreamList
public java.util.Vector getStreamList()
throws java.io.IOException
- Throws:
java.io.IOException
getVideoStreamList
public java.util.Vector getVideoStreamList()
throws java.io.IOException
- Throws:
java.io.IOException
getFile
public java.io.File getFile()
getSystemIndex
public SystemIndex getSystemIndex()
index
public void index()
throws java.io.IOException
- Throws:
java.io.IOException
index
public void index(java.awt.Component parentComponent,
java.lang.Object message)
throws java.io.IOException
- Throws:
java.io.IOException
indexed
public boolean indexed()
seek
public void seek(long bytePosition)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
seek
public void seek(long bytePosition,
int stream_id)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] buffer)
throws java.io.IOException
- Throws:
java.io.IOException