Class DefaultMovie

All Implemented Interfaces:
Serializable, Movie

public class DefaultMovie extends AbstractMovie
DefaultMovie.
Author:
Werner Randelshofer
See Also:
  • Constructor Details

    • DefaultMovie

      public DefaultMovie()
  • Method Details

    • getReader

      public MovieReader getReader()
    • setReader

      public void setReader(MovieReader reader)
    • getDuration

      public Rational getDuration()
      Description copied from interface: Movie
      Returns the total duration of the movie in seconds.
    • timeToSample

      public long timeToSample(int track, Rational time)
      Description copied from interface: Movie
      Returns the frame number for the specified time in seconds.
    • sampleToTime

      public Rational sampleToTime(int track, long sample)
    • getTrackCount

      public int getTrackCount()
    • getFormat

      public Format getFormat(int track)
    • getFileFormat

      public Format getFileFormat()