de.lmu.ifi.dbs.elki.parser
Class AbstractParser<O extends DatabaseObject>
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
de.lmu.ifi.dbs.elki.parser.AbstractParser<O>
- Type Parameters:
O
- object type
- All Implemented Interfaces:
- Parser<O>, Parameterizable
- Direct Known Subclasses:
- BitVectorLabelParser, NumberDistanceParser, ParameterizationFunctionLabelParser, RealVectorLabelParser, SparseBitVectorLabelParser
public abstract class AbstractParser<O extends DatabaseObject>
- extends AbstractParameterizable
- implements Parser<O>
Abstract superclass for all parsers providing the option handler for
handling options.
- Author:
- Arthur Zimek
Constructor Summary |
protected |
AbstractParser()
AbstractParser already provides the option handler. |
Method Summary |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable, setParameters, shortDescription |
Methods inherited from interface de.lmu.ifi.dbs.elki.parser.Parser |
parse |
COMMENT
public static final String COMMENT
- The comment character.
- See Also:
- Constant Field Values
ATTRIBUTE_CONCATENATION
public static final String ATTRIBUTE_CONCATENATION
- A sign to separate attributes.
- See Also:
- Constant Field Values
WHITESPACE_PATTERN
public static final Pattern WHITESPACE_PATTERN
- A pattern defining whitespace.
AbstractParser
protected AbstractParser()
- AbstractParser already provides the option handler.
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
toString
in class Object
- Returns:
- a string representation of the object.