
@Title(value="String Parser") @Description(value="Parses new line separated strings") public class StringParser extends Object implements Parser
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
StringParser.Parameterizer
Parameterization class. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
(package private) Matcher | 
comment
Comment pattern. 
 | 
(package private) boolean | 
trimWhitespace
Flag to trim whitespace. 
 | 
| Constructor and Description | 
|---|
StringParser(Pattern comment,
            boolean trimWhitespace)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cleanup()
Perform cleanup operations after parsing. 
 | 
MultipleObjectsBundle | 
parse(InputStream in)
Returns a list of the objects parsed from the specified input stream. 
 | 
Matcher comment
boolean trimWhitespace
public StringParser(Pattern comment, boolean trimWhitespace)
comment - Pattern for comments.trimWhitespace - Trim leading and trailing whitespace.public MultipleObjectsBundle parse(InputStream in)
ParserCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.