Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.parser
Class AbstractParser<O extends DatabaseObject>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
          extended by 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

Field Summary
static String ATTRIBUTE_CONCATENATION
          A sign to separate attributes.
static String COMMENT
          The comment character.
static Pattern WHITESPACE_PATTERN
          A pattern defining whitespace.
 
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
optionHandler
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
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 class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.parser.Parser
parse
 
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable
checkGlobalParameterConstraints, collectOptions, getParameters, setParameters, shortDescription
 

Field Detail

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.

Constructor Detail

AbstractParser

protected AbstractParser()
AbstractParser already provides the option handler.

Method Detail

toString

public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object
Returns:
a string representation of the object.

Release 0.2 (2009-07-06_1820)