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(int fileSize, java.lang.String videoResolution, java.lang.String videoCodec, int videoRate, int duration, java.lang.String audioCodec, int audioRate, int audioChannels)
          The Constructor.
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 getAudioRate()
          Returns the audio rate.
 java.lang.String getContainer()
          Returns the file container.
 int getDuration()
          Returns the duration.
 int getFileSize()
          Returns the filesize.
 java.lang.String getLocation()
          Sets the file container.
 java.lang.String getMetaDataTagInfo(java.lang.String tag)
           
 java.lang.String getSubtitles()
          Returns the subtitles.
 int getVideoBitRate()
          Returns the video bit rate.
 java.lang.String getVideoCodec()
          Returns the video codec (vids handler).
 int getVideoHeight()
           
 java.lang.String getVideoName()
           
 int getVideoRate()
          Returns the video rate.
 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 audioRate)
          Sets the audio rate.
 void setContainer(java.lang.String container)
          Sets the file container.
 void setDuration(int duration)
          Sets the duration.
 void setFileLocatinon(java.lang.String location)
          Sets the file location.
 void setFileSize(int fileSize)
          Sets the length.
 void setSubtitles(java.lang.String subtitles)
          Sets the subtitles.
 void setVideoBitRate(int videoBitRate)
          Sets the video bit rate.
 void setVideoCodec(java.lang.String videoCodec)
          Sets the video codec (vids handler).
 void setVideoName(java.lang.String name)
          Sets the length.
 void setVideoRate(int videoRate)
          Sets the video rate.
 void setVideoResolution(java.lang.String videoResolution)
          Sets the resolution.
 java.lang.String toString()
          Returns all the components in a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilePropertiesMovie

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

Parameters:
filePath - A path for the file.

FilePropertiesMovie

public FilePropertiesMovie(int fileSize,
                           java.lang.String videoResolution,
                           java.lang.String videoCodec,
                           int videoRate,
                           int duration,
                           java.lang.String audioCodec,
                           int audioRate,
                           int audioChannels)
The Constructor.

Method Detail

toString

public java.lang.String toString()
Returns all the components in a string.


getVideoWidth

public int getVideoWidth()

getVideoHeight

public int getVideoHeight()

getMetaDataTagInfo

public java.lang.String getMetaDataTagInfo(java.lang.String tag)

getSubtitles

public java.lang.String getSubtitles()
Returns the subtitles.


getFileSize

public int getFileSize()
Returns the filesize.


getVideoResolution

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


getVideoCodec

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


getVideoRate

public int getVideoRate()
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).


getAudioRate

public int getAudioRate()
Returns the audio rate.


getAudioBitRate

public int getAudioBitRate()
Returns the audio bit rate.


getAudioChannels

public int getAudioChannels()
Returns the audio channels.


setSubtitles

public void setSubtitles(java.lang.String subtitles)
Sets the subtitles.


setFileSize

public void setFileSize(int fileSize)
Sets the length.


setVideoName

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


setVideoResolution

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


setVideoCodec

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


setVideoRate

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


setVideoBitRate

public void setVideoBitRate(int videoBitRate)
Sets the video bit 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 audioRate)
Sets the audio rate.


setAudioChannels

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


setFileLocatinon

public void setFileLocatinon(java.lang.String location)
Sets the file location.


getLocation

public java.lang.String getLocation()
Sets the file container.


setContainer

public void setContainer(java.lang.String container)
Sets the file container.


getContainer

public java.lang.String getContainer()
Returns the file container.


getVideoName

public java.lang.String getVideoName()