de.lmu.ifi.dbs.elki.application
Class StandAloneApplication
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.application.AbstractApplication
de.lmu.ifi.dbs.elki.application.StandAloneApplication
- All Implemented Interfaces:
- Parameterizable
- Direct Known Subclasses:
- GeneratorXMLSpec, StandAloneInputApplication
public abstract class StandAloneApplication
- extends AbstractApplication
StandAloneApplication sets additionally to the flags set by
AbstractApplication the output parameter out.
Any Application class that makes use of these flags may extend this class.
Beware to make correct use of parameter settings via optionHandler as
commented with constructor and methods.
- Author:
- Elke Achtert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OUTPUT_ID
public static final OptionID OUTPUT_ID
- OptionID for
OUTPUT_PARAM
OUTPUT_PARAM
private final FileParameter OUTPUT_PARAM
- Parameter that specifies the name of the output file.
Key: -app.out
output
private File output
- Holds the value of
OUTPUT_PARAM
.
StandAloneApplication
protected StandAloneApplication(Parameterization config)
- Adds parameter
OUTPUT_PARAM
to the option handler additionally to
parameters of super class.
getOutput
public final File getOutput()
- Returns the output string.
- Returns:
- the output string
getOutputDescription
public abstract String getOutputDescription()
- Returns the description for the output parameter.
- Returns:
- the description for the output parameter