|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fmj.media.AbstractControls net.sf.fmj.media.AbstractPlugIn net.sf.fmj.media.AbstractDemultiplexer net.sf.fmj.media.parser.RawPullStreamParser
public class RawPullStreamParser
Raw parser which can read from a PullDataSource. Input is passed unmodified to output. There is a similar class in com.sun.media.parser.
Field Summary |
---|
Fields inherited from interface javax.media.PlugIn |
---|
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED |
Fields inherited from interface javax.media.Duration |
---|
DURATION_UNBOUNDED, DURATION_UNKNOWN |
Constructor Summary | |
---|---|
RawPullStreamParser()
|
Method Summary | |
---|---|
ContentDescriptor[] |
getSupportedInputContentDescriptors()
|
Track[] |
getTracks()
|
void |
setSource(DataSource source)
|
void |
start()
|
void |
stop()
|
Methods inherited from class net.sf.fmj.media.AbstractDemultiplexer |
---|
getDuration, getMediaTime, isPositionable, isRandomAccess, setPosition |
Methods inherited from class net.sf.fmj.media.AbstractPlugIn |
---|
close, getName, open, reset |
Methods inherited from class net.sf.fmj.media.AbstractControls |
---|
addControl, getControl, getControls, removeControl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.media.PlugIn |
---|
close, getName, open, reset |
Methods inherited from interface javax.media.Controls |
---|
getControl, getControls |
Constructor Detail |
---|
public RawPullStreamParser()
Method Detail |
---|
public ContentDescriptor[] getSupportedInputContentDescriptors()
getSupportedInputContentDescriptors
in interface Demultiplexer
getSupportedInputContentDescriptors
in class AbstractDemultiplexer
public Track[] getTracks() throws java.io.IOException, BadHeaderException
getTracks
in interface Demultiplexer
getTracks
in class AbstractDemultiplexer
java.io.IOException
BadHeaderException
public void setSource(DataSource source) throws java.io.IOException, IncompatibleSourceException
setSource
in interface MediaHandler
setSource
in class AbstractDemultiplexer
java.io.IOException
IncompatibleSourceException
public void start() throws java.io.IOException
start
in interface Demultiplexer
start
in class AbstractDemultiplexer
java.io.IOException
public void stop()
stop
in interface Demultiplexer
stop
in class AbstractDemultiplexer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |