public class CsvColNumberMapReader extends AbstractCsvReader implements ICsvMapReader
Constructor and Description |
---|
CsvColNumberMapReader(ITokenizer tokenizer,
CsvPreference preferences)
Constructs a new CsvMapReader with the supplied (custom) Tokenizer and CSV
preferences.
|
CsvColNumberMapReader(Reader reader,
CsvPreference preferences)
Constructs a new CsvMapReader with the supplied Reader and CSV preferences.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
read(String... nameMapping) |
Map<String,Object> |
read(String[] nameMapping,
CellProcessor[] processors) |
close, executeProcessors, get, getColumns, getHeader, getLineNumber, getPreferences, getRowNumber, getUntokenizedRow, length, readRow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getHeader, getLineNumber, getRowNumber, getUntokenizedRow, length
public CsvColNumberMapReader(Reader reader, CsvPreference preferences)
reader
- the readerpreferences
- the CSV preferencesNullPointerException
- if reader or preferences are nullpublic CsvColNumberMapReader(ITokenizer tokenizer, CsvPreference preferences)
tokenizer
- the tokenizerpreferences
- the CSV preferencesNullPointerException
- if tokenizer or preferences are nullpublic Map<String,String> read(String... nameMapping) throws IOException
read
in interface ICsvMapReader
IOException
public Map<String,Object> read(String[] nameMapping, CellProcessor[] processors) throws IOException
read
in interface ICsvMapReader
IOException