java.lang.Object
org.monte.media.beans.AbstractBean
org.monte.media.av.AbstractMovie
org.monte.media.av.DefaultMovie
- All Implemented Interfaces:
Serializable,Movie
DefaultMovie.- Author:
- Werner Randelshofer
- See Also:
-
Field Summary
Fields inherited from class org.monte.media.beans.AbstractBean
propertySupportFields inherited from interface org.monte.media.av.Movie
INSERTION_POINT_PROPERTY, SELECTION_END_PROPERTY, SELECTION_START_PROPERTY, URI_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the total duration of the movie in seconds.getFormat(int track) intsampleToTime(int track, long sample) voidsetReader(MovieReader reader) longtimeToSample(int track, Rational time) Returns the frame number for the specified time in seconds.Methods inherited from class org.monte.media.av.AbstractMovie
getInsertionPoint, getSelectionEnd, getSelectionStart, getURI, setInsertionPoint, setSelectionEnd, setSelectionStart, setURIMethods inherited from class org.monte.media.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.monte.media.av.Movie
addPropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
DefaultMovie
public DefaultMovie()
-
-
Method Details
-
getReader
-
setReader
-
getDuration
Description copied from interface:MovieReturns the total duration of the movie in seconds. -
timeToSample
Description copied from interface:MovieReturns the frame number for the specified time in seconds. -
sampleToTime
-
getTrackCount
public int getTrackCount() -
getFormat
-
getFileFormat
-