public abstract static class AbstractApplication.Parameterizer extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
static OptionID |
INPUT_ID
Parameter that specifies the name of the input file.
|
static OptionID |
OUTPUT_ID
Parameter that specifies the name of the output file.
|
Constructor and Description |
---|
AbstractApplication.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected void |
configVerbose(Parameterization config)
Get the verbose parameter.
|
protected File |
getParameterInputFile(Parameterization config)
Get the input file parameter.
|
protected File |
getParameterInputFile(Parameterization config,
String description)
Get the input file parameter
|
protected File |
getParameterOutputFile(Parameterization config)
Get the output file parameter.
|
protected File |
getParameterOutputFile(Parameterization config,
String description)
Get the output file parameter.
|
protected abstract AbstractApplication |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID OUTPUT_ID
Key: -app.out
public static final OptionID INPUT_ID
Key: -app.in
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected void configVerbose(Parameterization config)
config
- Parameterizationprotected File getParameterOutputFile(Parameterization config)
config
- Optionsprotected File getParameterOutputFile(Parameterization config, String description)
config
- Optionsdescription
- Short descriptionprotected File getParameterInputFile(Parameterization config)
config
- Optionsprotected File getParameterInputFile(Parameterization config, String description)
config
- Optionsdescription
- Descriptionprotected abstract AbstractApplication makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer