| Constructor and Description |
|---|
CsvReader(Reader reader,
CsvCharConsumer charConsumer) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<String[]> |
iterator() |
<CC extends CellConsumer> |
parseAll(CC cellConsumer)
parse cvs
|
boolean |
parseRow(CellConsumer cellConsumer)
parse cvs
|
<CC extends CellConsumer> |
parseRows(CC cellConsumer,
int limit) |
<RH extends RowHandler<String[]>> |
read(RH handler) |
<RH extends RowHandler<String[]>> |
read(RH handler,
int limit) |
void |
skipRows(int n) |
public CsvReader(Reader reader, CsvCharConsumer charConsumer)
public <CC extends CellConsumer> CC parseAll(CC cellConsumer) throws IOException
CC - the cell consumer typecellConsumer - the consumer that the parser will callbackIOException - if an io error occurspublic boolean parseRow(CellConsumer cellConsumer) throws IOException
cellConsumer - the cell consumerIOException - if io error occurspublic void skipRows(int n)
throws IOException
IOExceptionpublic <CC extends CellConsumer> CC parseRows(CC cellConsumer, int limit) throws IOException
IOExceptionpublic <RH extends RowHandler<String[]>> RH read(RH handler) throws IOException
IOExceptionpublic <RH extends RowHandler<String[]>> RH read(RH handler, int limit) throws IOException
IOExceptionCopyright © 2015. All rights reserved.