Closeable, AutoCloseable, ITokenizerpublic class Tokenizer extends AbstractTokenizer
readColumns(List), then consider writing your own Tokenizer by extending
AbstractTokenizer.| Constructor | Description |
|---|---|
Tokenizer(Reader reader,
CsvPreference preferences) |
Constructs a new Tokenizer, which reads the CSV file, line by line.
|
| Modifier and Type | Method | Description |
|---|---|---|
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).
|
close, getLineNumber, getPreferences, readLinepublic Tokenizer(Reader reader, CsvPreference preferences)
reader - the readerpreferences - the CSV preferencesNullPointerException - if reader or preferences is nullpublic boolean readColumns(List<String> columns) throws IOException
columns - the List of columns to read intoIOException - when an IOException occurspublic String getUntokenizedRow()
Copyright © 2007–2018 Super CSV. All rights reserved.