
@Title(value="Parameterization Function Label Parser") @Description(value="Parser for the following line format:\nA single line provides a single point. Attributes are separated by whitespace. The real values will be parsed as as doubles. Any substring not containing whitespace is tried to be read as double. If this fails, it will be appended to a label. (Thus, any label must not be parseable as double.) Empty lines and lines beginning with \"#\" will be ignored. If any point differs in its dimensionality from other points, the parse method will fail with an Exception.") public class ParameterizationFunctionLabelParser extends AbstractParser implements Parser
| Modifier and Type | Class and Description |
|---|---|
static class |
ParameterizationFunctionLabelParser.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logging |
logger
Class logger
|
ATTRIBUTE_CONCATENATION, COLUMN_SEPARATOR_ID, COMMENT, NUMBER_PATTERN, QUOTE_CHAR, QUOTE_ID, quoteChar, WHITESPACE_PATTERN| Constructor and Description |
|---|
ParameterizationFunctionLabelParser(Pattern colSep,
char quoteChar)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Logging |
getLogger()
Get the logger for this class.
|
protected VectorFieldTypeInformation<ParameterizationFunction> |
getTypeInformation(int dimensionality) |
MultipleObjectsBundle |
parse(InputStream in)
Returns a list of the objects parsed from the specified input stream.
|
tokenize, toStringprivate static final Logging logger
public ParameterizationFunctionLabelParser(Pattern colSep, char quoteChar)
colSep - quoteChar - public MultipleObjectsBundle parse(InputStream in)
Parserprotected VectorFieldTypeInformation<ParameterizationFunction> getTypeInformation(int dimensionality)
protected Logging getLogger()
AbstractParsergetLogger in class AbstractParser