com.panayotis.jubler.media
Class VideoFile

java.lang.Object
  extended by java.io.File
      extended by com.panayotis.jubler.media.VideoFile
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<java.io.File>

public class VideoFile
extends java.io.File

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
VideoFile(java.io.File vf, DecoderInterface decoder)
           
VideoFile(java.lang.String vfile, DecoderInterface decoder)
          Creates a new instance of VideoFile
 
Method Summary
 float getFPS()
           
 int getHeight()
           
 float getLength()
           
 void getVideoProperties(DecoderInterface decoder)
           
 int getWidth()
           
static VideoFile guessFile(Subtitles subs, MediaFileFilter filter, DecoderInterface decoder)
           
 void setInformation(int width, int height, float length, float fps)
           
 
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VideoFile

public VideoFile(java.lang.String vfile,
                 DecoderInterface decoder)
Creates a new instance of VideoFile


VideoFile

public VideoFile(java.io.File vf,
                 DecoderInterface decoder)
Method Detail

setInformation

public void setInformation(int width,
                           int height,
                           float length,
                           float fps)

getWidth

public int getWidth()

getHeight

public int getHeight()

getLength

public float getLength()

getFPS

public float getFPS()

getVideoProperties

public void getVideoProperties(DecoderInterface decoder)

guessFile

public static VideoFile guessFile(Subtitles subs,
                                  MediaFileFilter filter,
                                  DecoderInterface decoder)