public interface ICsvListReader extends ICsvReader
| Modifier and Type | Method and Description |
|---|---|
List<String> |
read()
Reads a row of a CSV file and returns a List of Strings containing each column.
|
List<Object> |
read(CellProcessor... processors)
Reads a row of a CSV file and returns a List of Objects containing each column.
|
get, getHeader, getLineNumber, getRowNumber, getUntokenizedRow, lengthList<String> read() throws IOException
IOException - if an I/O error occurredSuperCsvException - if there was a general exception while reading/processingList<Object> read(CellProcessor... processors) throws IOException
processors - an array of CellProcessors used to further process data before it is added to the List (each element
in the processors array corresponds with a CSV column - the number of processors should match the
number of columns). A null entry indicates no further processing is required (the unprocessed
String value will be added to the List).IOException - if an I/O error occurredNullPointerException - if processors is nullSuperCsvConstraintViolationException - if a CellProcessor constraint failedSuperCsvException - if there was a general exception while reading/processingCopyright © 2007-2012 Super CSV. All Rights Reserved.