|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.model.VideoFile
public class VideoFile
This is used to store information about files in a media directory
Constructor Summary | |
---|---|
VideoFile(java.io.File filename,
java.io.File originalLocation,
java.lang.Integer part,
java.io.File rootMediaDir)
The constructor |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VideoFile(java.io.File filename, java.io.File originalLocation, java.lang.Integer part, java.io.File rootMediaDir)
filename
- The current location of the video fileoriginalLocation
- The original location of the filepart
- The part number or null if not known/supportedrootMediaDir
- The media dir the file is inMethod Detail |
---|
public java.io.File getLocation()
getLocation
in interface IVideoFile
public java.io.File getOrginalLocation()
getOrginalLocation
in interface IVideoFile
public void setOrginalLocation(java.io.File orginalLocation)
setOrginalLocation
in interface IVideoFile
orginalLocation
- The original location of the filepublic void setLocation(java.io.File location)
setLocation
in interface IVideoFile
location
- The current location of the video filepublic java.lang.Integer getPart()
getPart
in interface IVideoFile
public void setPart(java.lang.Integer part)
setPart
in interface IVideoFile
part
- The part number or null if not known/supportedpublic java.io.File getMediaDirectory()
getMediaDirectory
in interface IVideoFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |