public class TokenizedReader extends BufferedLineReader
| Modifier and Type | Field and Description |
|---|---|
private java.util.regex.Matcher |
comment
Comment pattern.
|
protected Tokenizer |
tokenizer
String tokenizer.
|
buf, lineNumber| Constructor and Description |
|---|
TokenizedReader(java.util.regex.Pattern colSep,
java.lang.String quoteChars,
java.util.regex.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 java.util.regex.Matcher comment
protected Tokenizer tokenizer
public TokenizedReader(java.util.regex.Pattern colSep,
java.lang.String quoteChars,
java.util.regex.Pattern comment)
colSep - Column separatorquoteChars - Quote charactercomment - Comment patternpublic boolean nextLineExceptComments()
throws java.io.IOException
null.java.io.IOExceptionpublic void reset()
reset() methods.reset in class BufferedLineReaderpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in class BufferedLineReaderjava.io.IOExceptionpublic Tokenizer getTokenizer()
Copyright © 2019 ELKI Development Team. License information.