com.aelitis.azureus.core.devices
Interface TranscodeFile


public interface TranscodeFile


Field Summary
static String PT_CATEGORY
           
static String PT_COMPLETE
           
static String PT_COPIED
           
static String PT_COPY_FAILED
           
static String PT_TAGS
           
 
Method Summary
 void delete(boolean delete_cache_file)
           
 File getCacheFileIfExists()
           
 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 file
 String getName()
           
 String getProfileName()
           
 DiskManagerFileInfo getSourceFile()
           
 URL getStreamURL()
           
 URL getStreamURL(String host)
           
 String[] getTags(boolean localize)
           
 DiskManagerFileInfo getTargetFile()
           
 boolean getTranscodeRequired()
           
 Object getTransientProperty(Object key)
           
 long getVideoHeight()
           
 long getVideoWidth()
           
 boolean isComplete()
           
 boolean isCopiedToDevice()
           
 boolean isCopyingToDevice()
           
 boolean isDeleted()
           
 boolean isTemplate()
           
 void retryCopyToDevice()
           
 void setCategories(String[] cats)
           
 void setTags(String[] tags)
           
 void setTransientProperty(Object key, Object value)
           
 

Field Detail

PT_COMPLETE

static final String PT_COMPLETE
See Also:
Constant Field Values

PT_COPIED

static final String PT_COPIED
See Also:
Constant Field Values

PT_COPY_FAILED

static final String PT_COPY_FAILED
See Also:
Constant Field Values

PT_CATEGORY

static final String PT_CATEGORY
See Also:
Constant Field Values

PT_TAGS

static final String PT_TAGS
See Also:
Constant Field Values
Method Detail

getName

String getName()

getSourceFile

DiskManagerFileInfo getSourceFile()
                                  throws TranscodeException
Throws:
TranscodeException

getTargetFile

DiskManagerFileInfo getTargetFile()
                                  throws TranscodeException
Throws:
TranscodeException

getProfileName

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

String[] getCategories()

setCategories

void setCategories(String[] cats)

getTags

String[] getTags(boolean localize)

setTags

void setTags(String[] tags)

getDevice

Device getDevice()

getCacheFileIfExists

File getCacheFileIfExists()

getJob

TranscodeJob getJob()
Will return null unless there is a job in existance for this file

Returns:

getStreamURL

URL getStreamURL()

getStreamURL

URL getStreamURL(String host)

delete

void delete(boolean delete_cache_file)
            throws TranscodeException
Throws:
TranscodeException

setTransientProperty

void setTransientProperty(Object key,
                          Object value)

getTransientProperty

Object getTransientProperty(Object key)

isDeleted

boolean isDeleted()

isCopyingToDevice

boolean isCopyingToDevice()