javax.media
Interface Demultiplexer

All Superinterfaces:
Controls, Duration, MediaHandler, PlugIn
All Known Implementing Classes:
AbstractDemultiplexer, FFMPEGParser, JavaOggParser, JavaSoundParser, MultipartMixedReplaceParser, NativeOggParser, RawPullStreamParser, RawPushBufferParser

public interface Demultiplexer
extends PlugIn, MediaHandler, Duration

Standard JMF class -- see this class in the JMF Javadoc. Complete.

Author:
Ken Larson

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
 
Method Summary
 Time getDuration()
           
 Time getMediaTime()
           
 ContentDescriptor[] getSupportedInputContentDescriptors()
           
 Track[] getTracks()
           
 boolean isPositionable()
           
 boolean isRandomAccess()
           
 Time setPosition(Time where, int rounding)
           
 void start()
           
 void stop()
           
 
Methods inherited from interface javax.media.PlugIn
close, getName, open, reset
 
Methods inherited from interface javax.media.Controls
getControl, getControls
 
Methods inherited from interface javax.media.MediaHandler
setSource
 

Method Detail

getSupportedInputContentDescriptors

ContentDescriptor[] getSupportedInputContentDescriptors()

start

void start()
           throws java.io.IOException
Throws:
java.io.IOException

stop

void stop()

getTracks

Track[] getTracks()
                  throws java.io.IOException,
                         BadHeaderException
Throws:
java.io.IOException
BadHeaderException

isPositionable

boolean isPositionable()

isRandomAccess

boolean isRandomAccess()

setPosition

Time setPosition(Time where,
                 int rounding)

getMediaTime

Time getMediaTime()

getDuration

Time getDuration()
Specified by:
getDuration in interface Duration