javax.media
Interface Track

All Superinterfaces:
Duration
All Known Implementing Classes:
AbstractTrack

public interface Track
extends Duration

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

Author:
Ken Larson

Field Summary
static int FRAME_UNKNOWN
           
static Time TIME_UNKNOWN
           
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Method Summary
 Format getFormat()
           
 Time getStartTime()
           
 boolean isEnabled()
           
 Time mapFrameToTime(int frameNumber)
           
 int mapTimeToFrame(Time t)
           
 void readFrame(Buffer buffer)
          TODO: the API is not clear as to what readFrame should do in the case of an error, like an IOException.
 void setEnabled(boolean t)
           
 void setTrackListener(TrackListener listener)
           
 
Methods inherited from interface javax.media.Duration
getDuration
 

Field Detail

FRAME_UNKNOWN

static final int FRAME_UNKNOWN
See Also:
Constant Field Values

TIME_UNKNOWN

static final Time TIME_UNKNOWN
Method Detail

getFormat

Format getFormat()

getStartTime

Time getStartTime()

isEnabled

boolean isEnabled()

mapFrameToTime

Time mapFrameToTime(int frameNumber)

mapTimeToFrame

int mapTimeToFrame(Time t)

readFrame

void readFrame(Buffer buffer)
TODO: the API is not clear as to what readFrame should do in the case of an error, like an IOException.


setEnabled

void setEnabled(boolean t)

setTrackListener

void setTrackListener(TrackListener listener)