Package com.biglybt.core.devices
Interface TranscodeFile
-
- All Known Implementing Classes:
TranscodeFileImpl
public interface TranscodeFile
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PT_CATEGORY
static java.lang.String
PT_COMPLETE
static java.lang.String
PT_COPIED
static java.lang.String
PT_COPY_FAILED
static java.lang.String
PT_TAGS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(boolean delete_cache_file)
java.io.File
getCacheFileIfExists()
java.lang.String[]
getCategories()
long
getCopyToDeviceFails()
long
getCreationDateMillis()
Device
getDevice()
long
getDurationMillis()
long
getEstimatedTranscodeSize()
TranscodeJob
getJob()
Will return null unless there is a job in existance for this filejava.lang.String
getName()
java.lang.String
getProfileName()
DiskManagerFileInfo
getSourceFile()
java.net.URL
getStreamURL()
java.net.URL
getStreamURL(java.lang.String host)
java.lang.String[]
getTags(boolean localize)
DiskManagerFileInfo
getTargetFile()
boolean
getTranscodeRequired()
java.lang.Object
getTransientProperty(java.lang.Object key)
long
getVideoHeight()
long
getVideoWidth()
boolean
isComplete()
boolean
isCopiedToDevice()
boolean
isCopyingToDevice()
boolean
isDeleted()
boolean
isTemplate()
void
retryCopyToDevice()
void
setCategories(java.lang.String[] cats)
void
setTags(java.lang.String[] tags)
void
setTransientProperty(java.lang.Object key, java.lang.Object value)
-
-
-
Field Detail
-
PT_COMPLETE
static final java.lang.String PT_COMPLETE
- See Also:
- Constant Field Values
-
PT_COPIED
static final java.lang.String PT_COPIED
- See Also:
- Constant Field Values
-
PT_COPY_FAILED
static final java.lang.String PT_COPY_FAILED
- See Also:
- Constant Field Values
-
PT_CATEGORY
static final java.lang.String PT_CATEGORY
- See Also:
- Constant Field Values
-
PT_TAGS
static final java.lang.String PT_TAGS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
java.lang.String getName()
-
getSourceFile
DiskManagerFileInfo getSourceFile() throws TranscodeException
- Throws:
TranscodeException
-
getTargetFile
DiskManagerFileInfo getTargetFile() throws TranscodeException
- Throws:
TranscodeException
-
getProfileName
java.lang.String getProfileName()
-
getCreationDateMillis
long getCreationDateMillis()
-
isComplete
boolean isComplete()
-
getTranscodeRequired
boolean getTranscodeRequired()
-
isCopiedToDevice
boolean isCopiedToDevice()
-
getCopyToDeviceFails
long getCopyToDeviceFails()
-
retryCopyToDevice
void retryCopyToDevice()
-
isTemplate
boolean isTemplate()
-
getDurationMillis
long getDurationMillis()
-
getVideoWidth
long getVideoWidth()
-
getVideoHeight
long getVideoHeight()
-
getEstimatedTranscodeSize
long getEstimatedTranscodeSize()
-
getCategories
java.lang.String[] getCategories()
-
setCategories
void setCategories(java.lang.String[] cats)
-
getTags
java.lang.String[] getTags(boolean localize)
-
setTags
void setTags(java.lang.String[] tags)
-
getDevice
Device getDevice()
-
getCacheFileIfExists
java.io.File getCacheFileIfExists()
-
getJob
TranscodeJob getJob()
Will return null unless there is a job in existance for this file- Returns:
-
getStreamURL
java.net.URL getStreamURL()
-
getStreamURL
java.net.URL getStreamURL(java.lang.String host)
-
delete
void delete(boolean delete_cache_file) throws TranscodeException
- Throws:
TranscodeException
-
setTransientProperty
void setTransientProperty(java.lang.Object key, java.lang.Object value)
-
getTransientProperty
java.lang.Object getTransientProperty(java.lang.Object key)
-
isDeleted
boolean isDeleted()
-
isCopyingToDevice
boolean isCopyingToDevice()
-
-