public class XMLVideoFile extends VideoFile
XMLStore2
, that access the information from the XML FileConstructor and Description |
---|
XMLVideoFile(java.io.File rootMediaDir,
org.w3c.dom.Element fileNode)
The constructor
|
Modifier and Type | Method and Description |
---|---|
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 |
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
|
getId, setId, setMediaDirectory, toString
public XMLVideoFile(java.io.File rootMediaDir, org.w3c.dom.Element fileNode)
rootMediaDir
- The media directory locationfileNode
- The root xml node of the store itempublic java.io.File getLocation()
getLocation
in class VideoFile
public java.io.File getOrginalLocation()
getOrginalLocation
in class VideoFile
public void setOrginalLocation(java.io.File orginalLocation)
setOrginalLocation
in class VideoFile
orginalLocation
- The original location of the filepublic void setLocation(java.io.File location)
setLocation
in class VideoFile
location
- The current location of the video filepublic java.lang.Integer getPart()
public void setPart(java.lang.Integer part)
public java.io.File getMediaDirectory()
getMediaDirectory
in class VideoFile