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 Stringm_InputOptionsinput options to use for ffmpeg.protected Stringm_OutputOptionsoutput 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 StringassembleInputOptions()Assembles the input command-line options.protected StringassembleOutputOptions()Assembles the output command-line options.voiddefineOptions()Adds options to the internal list of options.protected StringgetDefaultInputOptions()Returns the default input options.protected StringgetDefaultOutputOptions()Returns the default output options.StringgetInputOptions()Returns the input options to use.StringgetOutputOptions()Returns the output options to use.StringglobalInfo()Returns a string describing the object.StringinputOptionsTipText()Returns the tip text for this property.StringoutputOptionsTipText()Returns the tip text for this property.voidsetInputOptions(String value)Sets the input options to use.voidsetOutputOptions(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:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin 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:
defineOptionsin interfaceadams.core.option.OptionHandler- Overrides:
defineOptionsin 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:
assembleInputOptionsin classAbstractFFmpegPlugin- Returns:
- the command-line
-
assembleOutputOptions
protected String assembleOutputOptions()
Assembles the output command-line options.- Specified by:
assembleOutputOptionsin classAbstractFFmpegPlugin- Returns:
- the command-line
-
-