public class TokenizedReader extends BufferedLineReader
Modifier and Type | Field and Description |
---|---|
private Matcher |
comment
Comment pattern.
|
protected Tokenizer |
tokenizer
String tokenizer.
|
buf, lineNumber
Constructor and Description |
---|
TokenizedReader(Pattern colSep,
String quoteChars,
Pattern comment)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
Tokenizer |
getTokenizer()
Get the tokenizer of the reader.
|
boolean |
nextLineExceptComments()
Read the next line into the tokenizer.
|
void |
reset()
Cleanup the internal state of the tokenized reader.
|
getBuffer, getLineNumber, lengthWithoutLinefeed, nextLine, reset, reset, reset
private Matcher comment
protected Tokenizer tokenizer
public boolean nextLineExceptComments() throws IOException
null
.IOException
public void reset()
reset()
methods.reset
in class BufferedLineReader
public void close() throws IOException
close
in interface AutoCloseable
close
in class BufferedLineReader
IOException
public Tokenizer getTokenizer()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.