de.lmu.ifi.dbs.elki.datasource.parser
Class AbstractParser.Parameterizer

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
      extended by de.lmu.ifi.dbs.elki.datasource.parser.AbstractParser.Parameterizer
All Implemented Interfaces:
Parameterizer
Direct Known Subclasses:
BitVectorLabelParser.Parameterizer, NumberDistanceParser.Parameterizer, NumberVectorLabelParser.Parameterizer, ParameterizationFunctionLabelParser.Parameterizer, SimplePolygonParser.Parameterizer, SparseBitVectorLabelParser.Parameterizer
Enclosing class:
AbstractParser

public abstract static class AbstractParser.Parameterizer
extends AbstractParameterizer

Parameterization class.


Field Summary
protected  Pattern colSep
          Stores the column separator pattern
protected  char quoteChar
          Stores the quotation character
 
Constructor Summary
AbstractParser.Parameterizer()
           
 
Method Summary
protected abstract  AbstractParser makeInstance()
          Make an instance after successful configuration.
protected  void makeOptions(Parameterization config)
          Add all options.
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
configure, make
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colSep

protected Pattern colSep
Stores the column separator pattern


quoteChar

protected char quoteChar
Stores the quotation character

Constructor Detail

AbstractParser.Parameterizer

public AbstractParser.Parameterizer()
Method Detail

makeOptions

protected void makeOptions(Parameterization config)
Description copied from class: AbstractParameterizer
Add all options. ALWAYS call super.makeOptions(config), unless you have a strong reason to do otherwise!

Overrides:
makeOptions in class AbstractParameterizer
Parameters:
config - Parameterization to add options to.

makeInstance

protected abstract AbstractParser makeInstance()
Description copied from class: AbstractParameterizer
Make an instance after successful configuration.

Specified by:
makeInstance in class AbstractParameterizer
Returns:
instance

Release 0.4.0 (2011-09-20_1324)