edu.umd.cfar.lamp.mpeg1
Class Mpeg1File
java.lang.Object
edu.umd.cfar.lamp.mpeg1.Mpeg1File
- public class Mpeg1File
- extends java.lang.Object
Constructor Summary |
Mpeg1File(java.io.File file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYSTEM
public static final byte SYSTEM
- See Also:
- Constant Field Values
VIDEO
public static final byte VIDEO
- See Also:
- Constant Field Values
AUDIO
public static final byte AUDIO
- See Also:
- Constant Field Values
Mpeg1File
public Mpeg1File(java.io.File file)
throws java.io.IOException,
UnsupportedStreamTypeException
getFile
public java.io.File getFile()
readSystemIndex
public void readSystemIndex(java.io.File file)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
readSystemIndex
public void readSystemIndex(java.io.InputStream in)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
writeSystemIndex
public void writeSystemIndex(java.io.File file)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
writeSystemIndex
public void writeSystemIndex(java.io.OutputStream out)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
writeSystemIndex
public void writeSystemIndex(java.awt.Component parentComponent,
java.lang.Object message,
java.io.File file)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
writeSystemIndex
public void writeSystemIndex(java.awt.Component parentComponent,
java.lang.Object message,
java.io.OutputStream out)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
isSystemFile
public static boolean isSystemFile(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
isVideoFile
public static boolean isVideoFile(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
isSystemOrVideoFile
public static boolean isSystemOrVideoFile(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
getStreamType
public static byte getStreamType(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
isSystemFile
public boolean isSystemFile()
isVideoFile
public boolean isVideoFile()
isSystemOrVideoFile
public boolean isSystemOrVideoFile()
isAudioFile
public boolean isAudioFile()
getStreamList
public java.util.Vector getStreamList()
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
getVideoStreamList
public java.util.Vector getVideoStreamList()
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
getVideoStream
public Mpeg1VideoStream getVideoStream(int stream_id)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
getVideoStream
public Mpeg1VideoStream getVideoStream()
throws MpegException,
java.io.IOException
- Throws:
MpegException
java.io.IOException