AutoCloseable
, Closeable
AbstractTokenizer
, Tokenizer
public interface ITokenizer extends Closeable
Modifier and Type | Method | Description |
---|---|---|
int |
getLineNumber() |
Gets the line number currently being tokenized (the first line is line 1).
|
String |
getUntokenizedRow() |
Returns the raw (untokenized) CSV row that was just read (which can potentially span multiple lines in the file).
|
boolean |
readColumns(List<String> columns) |
Reads a CSV row into the supplied List of columns (which can potentially span multiple lines in the file).
|
int getLineNumber()
readColumns(List)
hasn't been called yetString getUntokenizedRow()
boolean readColumns(List<String> columns) throws IOException
columns
- the List of columns to read intoIOException
- when an IOException occursNullPointerException
- if columns is nullSuperCsvException
- on errors in parsing the inputCopyright © 2007–2018 Super CSV. All rights reserved.