public class VideoFile
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
VideoFile()
The constructor
|
VideoFile(java.io.File filename,
java.io.File originalLocation,
java.lang.Integer part,
java.io.File rootMediaDir)
The constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getId()
Used to get a unique ID for the video file.
|
java.io.File |
getLocation()
Used to get the current location of the video file
|
java.io.File |
getMediaDirectory()
Used to get the media directory
|
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 |
setId(java.lang.Long id)
Used to get a unique ID for the video file.
|
void |
setLocation(java.io.File location)
Used to set the current location of the video file
|
void |
setMediaDirectory(java.io.File rootMediaDir)
Used to set the media directory
|
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
|
java.lang.String |
toString() |
public VideoFile()
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 inpublic java.lang.Long getId()
public void setId(java.lang.Long id)
id
- The idpublic java.io.File getLocation()
public java.io.File getOrginalLocation()
public void setOrginalLocation(java.io.File orginalLocation)
orginalLocation
- The original location of the filepublic void setLocation(java.io.File location)
location
- The current location of the video filepublic java.lang.Integer getPart()
public void setPart(java.lang.Integer part)
part
- The part number or null if not known/supportedpublic void setMediaDirectory(java.io.File rootMediaDir)
rootMediaDir
- The media directorypublic java.io.File getMediaDirectory()
public java.lang.String toString()
toString
in class java.lang.Object