Package com.biglybt.core.devices.impl
Class TranscodeProviderVuze
- java.lang.Object
-
- com.biglybt.core.devices.impl.TranscodeProviderVuze
-
- All Implemented Interfaces:
TranscodeProvider
public class TranscodeProviderVuze extends java.lang.Object implements TranscodeProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
TranscodeProviderVuze.TranscodeProviderAnalysisImpl
-
Field Summary
Fields Modifier and Type Field Description private TranscodeManagerImpl
manager
private PluginInterface
plugin_interface
private java.util.Map<java.lang.String,TranscodeProfile[]>
profile_classification_map
private static java.lang.String
PROFILE_PREFIX
private TranscodeProfile[]
profiles
-
Fields inherited from interface com.biglybt.core.devices.TranscodeProvider
TP_VUZE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TranscodeProviderVuze(TranscodeManagerImpl _manager, PluginInterface _plugin_interface)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranscodeProfile
addProfile(java.io.File file)
TranscodeProviderAnalysis
analyse(TranscodeProviderAdapter _adapter, DiskManagerFileInfo input, TranscodeProfile profile)
protected void
destroy()
java.io.File
getAssetDirectory()
int
getID()
java.lang.String
getName()
PluginInterface
getPluginInterface()
TranscodeProfile
getProfile(java.lang.String UID)
TranscodeProfile[]
getProfiles()
TranscodeProfile[]
getProfiles(java.lang.String classification_prefix)
(package private) void
resetProfiles()
TranscodeProviderJob
transcode(TranscodeProviderAdapter _adapter, TranscodeProviderAnalysis analysis, boolean direct_input, DiskManagerFileInfo input, TranscodeProfile profile, java.net.URL output)
protected void
update(PluginInterface pi)
-
-
-
Field Detail
-
PROFILE_PREFIX
private static final java.lang.String PROFILE_PREFIX
- See Also:
- Constant Field Values
-
manager
private TranscodeManagerImpl manager
-
plugin_interface
private PluginInterface plugin_interface
-
profiles
private volatile TranscodeProfile[] profiles
-
profile_classification_map
private java.util.Map<java.lang.String,TranscodeProfile[]> profile_classification_map
-
-
Constructor Detail
-
TranscodeProviderVuze
protected TranscodeProviderVuze(TranscodeManagerImpl _manager, PluginInterface _plugin_interface)
-
-
Method Detail
-
getID
public int getID()
- Specified by:
getID
in interfaceTranscodeProvider
-
getPluginInterface
public PluginInterface getPluginInterface()
-
update
protected void update(PluginInterface pi)
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceTranscodeProvider
-
resetProfiles
void resetProfiles()
-
getProfiles
public TranscodeProfile[] getProfiles()
- Specified by:
getProfiles
in interfaceTranscodeProvider
-
getProfiles
public TranscodeProfile[] getProfiles(java.lang.String classification_prefix)
- Specified by:
getProfiles
in interfaceTranscodeProvider
-
getProfile
public TranscodeProfile getProfile(java.lang.String UID)
- Specified by:
getProfile
in interfaceTranscodeProvider
-
addProfile
public TranscodeProfile addProfile(java.io.File file) throws TranscodeException
- Specified by:
addProfile
in interfaceTranscodeProvider
- Throws:
TranscodeException
-
analyse
public TranscodeProviderAnalysis analyse(TranscodeProviderAdapter _adapter, DiskManagerFileInfo input, TranscodeProfile profile) throws TranscodeException
- Specified by:
analyse
in interfaceTranscodeProvider
- Throws:
TranscodeException
-
transcode
public TranscodeProviderJob transcode(TranscodeProviderAdapter _adapter, TranscodeProviderAnalysis analysis, boolean direct_input, DiskManagerFileInfo input, TranscodeProfile profile, java.net.URL output) throws TranscodeException
- Specified by:
transcode
in interfaceTranscodeProvider
- Throws:
TranscodeException
-
getAssetDirectory
public java.io.File getAssetDirectory()
- Specified by:
getAssetDirectory
in interfaceTranscodeProvider
-
destroy
protected void destroy()
-
-