
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, resetprivate Matcher comment
protected Tokenizer tokenizer
public boolean nextLineExceptComments()
throws IOException
null.IOExceptionpublic void reset()
reset() methods.reset in class BufferedLineReaderpublic void close()
throws IOException
close in interface AutoCloseableclose in class BufferedLineReaderIOExceptionpublic Tokenizer getTokenizer()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.