net.sf.ext.mediamanager
Class FilePropertiesMovie

java.lang.Object
  extended bynet.sf.ext.mediamanager.FilePropertiesMovie

public class FilePropertiesMovie
extends java.lang.Object


Constructor Summary
FilePropertiesMovie(java.lang.String filePath)
          The Constructor.
 
Method Summary
 int getAudioBitRate()
          Returns the audio bit rate.
 int getAudioChannels()
          Returns the audio channels.
 java.lang.String getAudioCodec()
          Returns the audio codec (auds handler).
 int getAudioSampleRate()
          Returns the audio rate.
 int getDuration()
          Returns the duration.
 int getFileSize()
          Returns the filesize.
 int getVideoBitRate()
          Returns the video bit rate.
 java.lang.String getVideoCodec()
          Returns the video codec (vids handler).
 int getVideoFps()
          Returns the video rate.
 int getVideoHeight()
           
 java.lang.String getVideoName()
           
 java.lang.String getVideoResolution()
          Returns the resolution.
 int getVideoWidth()
           
 void setAudioChannels(int audioChannels)
          Sets the audio channels.
 void setAudioCodec(java.lang.String audioCodec)
          Sets the audio codec (auds handler).
 void setAudioRate(int audioSampleRate)
          Sets the audio rate.
 void setDuration(int duration)
          Sets the duration.
 void setFileSize(int fileSize)
          Sets the length.
 void setVideoCodec(java.lang.String videoCodec)
          Sets the video codec (vids handler).
 void setVideoName(java.lang.String name)
          Sets the name
 void setVideoRate(int fps)
          Sets the video rate.
 void setVideoResolution(java.lang.String videoResolution)
          Sets the resolution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePropertiesMovie

public FilePropertiesMovie(java.lang.String filePath)
                    throws java.lang.Exception
The Constructor. Gets all info available (reads contents from file).

Parameters:
filePath - A path for the file.
Method Detail

getFileSize

public int getFileSize()
Returns the filesize.


getVideoName

public java.lang.String getVideoName()

getVideoResolution

public java.lang.String getVideoResolution()
Returns the resolution.


getVideoHeight

public int getVideoHeight()

getVideoWidth

public int getVideoWidth()

getVideoCodec

public java.lang.String getVideoCodec()
Returns the video codec (vids handler).


getVideoFps

public int getVideoFps()
Returns the video rate.


getVideoBitRate

public int getVideoBitRate()
Returns the video bit rate.


getDuration

public int getDuration()
Returns the duration.


getAudioCodec

public java.lang.String getAudioCodec()
Returns the audio codec (auds handler).


getAudioSampleRate

public int getAudioSampleRate()
Returns the audio rate.


getAudioBitRate

public int getAudioBitRate()
Returns the audio bit rate.


getAudioChannels

public int getAudioChannels()
Returns the audio channels.


setFileSize

public void setFileSize(int fileSize)
Sets the length.


setVideoResolution

public void setVideoResolution(java.lang.String videoResolution)
Sets the resolution.


setVideoName

public void setVideoName(java.lang.String name)
Sets the name


setVideoCodec

public void setVideoCodec(java.lang.String videoCodec)
Sets the video codec (vids handler).


setVideoRate

public void setVideoRate(int fps)
Sets the video rate.


setDuration

public void setDuration(int duration)
Sets the duration.


setAudioCodec

public void setAudioCodec(java.lang.String audioCodec)
Sets the audio codec (auds handler).


setAudioRate

public void setAudioRate(int audioSampleRate)
Sets the audio rate.


setAudioChannels

public void setAudioChannels(int audioChannels)
Sets the audio channels.