public interface CsvMapper<T>
| Modifier and Type | Method and Description |
|---|---|
<H extends RowHandler<? super T>> |
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>> |
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. |
<H extends RowHandler<? super T>> |
forEach(Reader 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>> |
forEach(Reader reader,
H handle,
int skip)
Will map each row of the content of reader, starting at rowStart, 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>> |
forEach(Reader reader,
H handle,
int skip,
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> |
iterate(CsvReader reader)
Deprecated.
|
Iterator<T> |
iterate(Reader reader)
Deprecated.
|
Iterator<T> |
iterate(Reader reader,
int skip)
Deprecated.
|
Iterator<T> |
iterator(CsvReader reader)
Will return an iterator on the reader that will return a mapped object for each row.
|
Iterator<T> |
iterator(Reader reader)
Will return an iterator on the reader that will return a mapped object for each row.
|
Iterator<T> |
iterator(Reader reader,
int skip)
Will return an iterator on the reader that will return a mapped object for each row.
|
<H extends RowHandler<? super T>> H forEach(Reader reader, H handle) throws IOException, MappingException
RowHandler.handler(T t) call back.reader - the readerhandle - the callback instanceIOException - if an io error occursMappingException - if an mapping error occurs<H extends RowHandler<? super T>> H forEach(CsvReader reader, H handle) throws IOException, MappingException
RowHandler.handler(T t) call back.reader - the readerhandle - the callback instanceIOException - if an io error occursMappingException - if an mapping error occurs<H extends RowHandler<? super T>> H forEach(Reader reader, H handle, int skip) throws IOException, MappingException
RowHandler.handler(T t) call back.reader - the readerhandle - the callback instanceskip - the number of row to skipIOException - if an io error occursMappingException - if an mapping error occurs<H extends RowHandler<? super T>> H forEach(Reader reader, H handle, int skip, int limit) throws IOException, MappingException
RowHandler.handler(T t) call back.reader - the readerhandle - the callback instanceskip - the number of row to skiplimit - the number of row to processIOException - if an io error occursMappingException - if an mapping error occurs<H extends RowHandler<? super T>> H forEach(CsvReader reader, H handle, int limit) throws IOException, MappingException
RowHandler.handler(T t) call back.reader - the readerhandle - the callback instancelimit - the number of row to processIOException - if an io error occursMappingException - if an mapping error occursIterator<T> iterator(Reader reader) throws IOException
reader - the readerIOException@Deprecated Iterator<T> iterate(Reader reader) throws IOException
IOExceptionIterator<T> iterator(CsvReader reader) throws IOException
reader - the readerIOException@Deprecated Iterator<T> iterate(CsvReader reader) throws IOException
IOExceptionIterator<T> iterator(Reader reader, int skip) throws IOException
reader - the readerskip - the number of row to skipIOException@Deprecated Iterator<T> iterate(Reader reader, int skip) throws IOException
IOExceptionCopyright © 2015. All rights reserved.