Package adams.flow.sink.ffmpeg
Class GenericPlugin
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.sink.ffmpeg.AbstractFFmpegPlugin
-
- adams.flow.sink.ffmpeg.GenericPlugin
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.QuickInfoSupporter
,adams.core.SizeOfHandler
,Serializable
public class GenericPlugin extends AbstractFFmpegPlugin
A generic plugin.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
m_InputOptions
input options to use for ffmpeg.protected String
m_OutputOptions
output options to use for ffmpeg.-
Fields inherited from class adams.flow.sink.ffmpeg.AbstractFFmpegPlugin
m_Input, m_Owner
-
-
Constructor Summary
Constructors Constructor Description GenericPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
assembleInputOptions()
Assembles the input command-line options.protected String
assembleOutputOptions()
Assembles the output command-line options.void
defineOptions()
Adds options to the internal list of options.protected String
getDefaultInputOptions()
Returns the default input options.protected String
getDefaultOutputOptions()
Returns the default output options.String
getInputOptions()
Returns the input options to use.String
getOutputOptions()
Returns the output options to use.String
globalInfo()
Returns a string describing the object.String
inputOptionsTipText()
Returns the tip text for this property.String
outputOptionsTipText()
Returns the tip text for this property.void
setInputOptions(String value)
Sets the input options to use.void
setOutputOptions(String value)
Sets the output options to use.-
Methods inherited from class adams.flow.sink.ffmpeg.AbstractFFmpegPlugin
execute, getExecutable, getInput, getOwner, getQuickInfo, handleException, initialize, reset, setInput, setOwner, setUp
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceadams.core.option.OptionHandler
- Overrides:
defineOptions
in classadams.core.option.AbstractOptionHandler
-
getDefaultInputOptions
protected String getDefaultInputOptions()
Returns the default input options.- Returns:
- the default
-
setInputOptions
public void setInputOptions(String value)
Sets the input options to use.- Parameters:
value
- the options
-
getInputOptions
public String getInputOptions()
Returns the input options to use.- Returns:
- the options
-
inputOptionsTipText
public String inputOptionsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
getDefaultOutputOptions
protected String getDefaultOutputOptions()
Returns the default output options.- Returns:
- the default
-
setOutputOptions
public void setOutputOptions(String value)
Sets the output options to use.- Parameters:
value
- the options
-
getOutputOptions
public String getOutputOptions()
Returns the output options to use.- Returns:
- the options
-
outputOptionsTipText
public String outputOptionsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
assembleInputOptions
protected String assembleInputOptions()
Assembles the input command-line options.- Specified by:
assembleInputOptions
in classAbstractFFmpegPlugin
- Returns:
- the command-line
-
assembleOutputOptions
protected String assembleOutputOptions()
Assembles the output command-line options.- Specified by:
assembleOutputOptions
in classAbstractFFmpegPlugin
- Returns:
- the command-line
-
-