de.lmu.ifi.dbs.elki.datasource.parser
Class DoubleVectorLabelTransposingParser

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.datasource.parser.AbstractParser
      extended by de.lmu.ifi.dbs.elki.datasource.parser.NumberVectorLabelParser<DoubleVector>
          extended by de.lmu.ifi.dbs.elki.datasource.parser.DoubleVectorLabelParser
              extended by de.lmu.ifi.dbs.elki.datasource.parser.DoubleVectorLabelTransposingParser
All Implemented Interfaces:
LinebasedParser, Parser, InspectionUtilFrequentlyScanned, Parameterizable

public class DoubleVectorLabelTransposingParser
extends DoubleVectorLabelParser

Parser reads points transposed. Line n gives the n-th attribute for all points.


Nested Class Summary
static class DoubleVectorLabelTransposingParser.Parameterizer
          Parameterization class.
 
Field Summary
private static Logging logger
          Class logger
 
Fields inherited from class de.lmu.ifi.dbs.elki.datasource.parser.NumberVectorLabelParser
LABEL_INDICES_ID, labelIndices
 
Fields inherited from class de.lmu.ifi.dbs.elki.datasource.parser.AbstractParser
ATTRIBUTE_CONCATENATION, COLUMN_SEPARATOR_ID, COMMENT, NUMBER_PATTERN, QUOTE_CHAR, QUOTE_ID, quoteChar, WHITESPACE_PATTERN
 
Constructor Summary
DoubleVectorLabelTransposingParser(Pattern colSep, char quoteChar, BitSet labelIndices)
          Constructor.
 
Method Summary
protected  Logging getLogger()
          Get the logger for this class.
 MultipleObjectsBundle parse(InputStream in)
          Returns a list of the objects parsed from the specified input stream.
 
Methods inherited from class de.lmu.ifi.dbs.elki.datasource.parser.DoubleVectorLabelParser
createDBObject, getTypeInformation
 
Methods inherited from class de.lmu.ifi.dbs.elki.datasource.parser.NumberVectorLabelParser
parseLine, parseLineInternal
 
Methods inherited from class de.lmu.ifi.dbs.elki.datasource.parser.AbstractParser
tokenize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

private static final Logging logger
Class logger

Constructor Detail

DoubleVectorLabelTransposingParser

public DoubleVectorLabelTransposingParser(Pattern colSep,
                                          char quoteChar,
                                          BitSet labelIndices)
Constructor.

Parameters:
colSep -
quoteChar -
labelIndices -
Method Detail

parse

public MultipleObjectsBundle parse(InputStream in)
Description copied from interface: Parser
Returns a list of the objects parsed from the specified input stream.

Specified by:
parse in interface Parser
Overrides:
parse in class NumberVectorLabelParser<DoubleVector>
Parameters:
in - the stream to parse objects from
Returns:
a list containing those objects parsed from the input stream

getLogger

protected Logging getLogger()
Description copied from class: AbstractParser
Get the logger for this class.

Overrides:
getLogger in class DoubleVectorLabelParser
Returns:
Logger.

Release 0.4.0 (2011-09-20_1324)