org.stanwood.media.model
Interface IVideoFile

All Known Implementing Classes:
VideoFile, XMLVideoFile

public interface IVideoFile

Interface for video files


Method Summary
 java.io.File getLocation()
          Used to get the current location of the video file
 java.io.File getMediaDirectory()
          Returns the media directory the file is in
 java.io.File getOrginalLocation()
          Used to get the original location of the video file.
 java.lang.Integer getPart()
          Used to get the part number of the file
 void setLocation(java.io.File location)
          Used to set the current location of the video file
 void setOrginalLocation(java.io.File orginalLocation)
          Used to set the original location of the video file.
 void setPart(java.lang.Integer part)
          Used to set the part number of the file
 

Method Detail

getLocation

java.io.File getLocation()
Used to get the current location of the video file

Returns:
The current location of the video file

getOrginalLocation

java.io.File getOrginalLocation()
Used to get the original location of the video file. This is the location it was first seen in.

Returns:
The original location of the file

setOrginalLocation

void setOrginalLocation(java.io.File orginalLocation)
Used to set the original location of the video file. This is the location it was first seen in.

Parameters:
orginalLocation - The original location of the file

setLocation

void setLocation(java.io.File location)
Used to set the current location of the video file

Parameters:
location - The current location of the video file

getPart

java.lang.Integer getPart()
Used to get the part number of the file

Returns:
The part number or null if not known/supported

setPart

void setPart(java.lang.Integer part)
Used to set the part number of the file

Parameters:
part - The part number or null if not known/supported

getMediaDirectory

java.io.File getMediaDirectory()
Returns the media directory the file is in

Returns:
the media directory the file is in