| Package | Description |
|---|---|
| org.sfm.csv |
CsvMapper classes to map object from a csv file. |
| org.sfm.csv.impl |
CsvMapper implementation. |
| org.sfm.csv.parser |
CsvParser related classes. |
| Modifier and Type | Method and Description |
|---|---|
static CsvReader |
CsvParser.reader(Reader reader) |
CsvReader |
CsvParser.DSL.reader(Reader reader)
Create a CsvReader and the specified reader.
|
| Modifier and Type | Method and Description |
|---|---|
<H extends RowHandler<? super T>> |
CsvMapper.forEach(CsvReader reader,
H handle)
Will map each row of the content of reader to an object of type T and will pass that object to the handle via the
RowHandler.handler(T t) call back. |
<H extends RowHandler<? super T>> |
CsvMapper.forEach(CsvReader reader,
H handle,
int limit)
Will map each row of the content of reader, starting at rowStart and ending before rowEnd, to an object of type T and will pass that object to the handle via the
RowHandler.handler(T t) call back. |
Iterator<T> |
CsvMapper.iterate(CsvReader reader)
Deprecated.
|
Iterator<T> |
CsvMapper.iterator(CsvReader reader)
Will return an iterator on the reader that will return a mapped object for each row.
|
| Modifier and Type | Method and Description |
|---|---|
<H extends RowHandler<? super T>> |
DynamicCsvMapper.forEach(CsvReader csvReader,
H handle) |
<H extends RowHandler<? super T>> |
CsvMapperImpl.forEach(CsvReader reader,
H handle) |
<H extends RowHandler<? super T>> |
DynamicCsvMapper.forEach(CsvReader csvReader,
H handle,
int limit) |
<H extends RowHandler<? super T>> |
CsvMapperImpl.forEach(CsvReader reader,
H handle,
int limit) |
Iterator<T> |
DynamicCsvMapper.iterate(CsvReader csvReader)
Deprecated.
|
Iterator<T> |
CsvMapperImpl.iterate(CsvReader csvReader)
Deprecated.
|
Iterator<T> |
DynamicCsvMapper.iterator(CsvReader csvReader) |
Iterator<T> |
CsvMapperImpl.iterator(CsvReader csvReader) |
| Constructor and Description |
|---|
CsvMapperIterator(CsvReader reader,
CsvMapperImpl<T> csvMapperImpl) |
| Constructor and Description |
|---|
CsvStringArrayIterator(CsvReader csvReader) |
Copyright © 2015. All rights reserved.