E - the type of the objects to providepublic class FixedWidthBeanIterator<E> extends DataIteratorAdapter<String[],E>
source| Constructor and Description |
|---|
FixedWidthBeanIterator(String uri,
String encoding,
Class<E> beanClass,
String columnFormats) |
FixedWidthBeanIterator(String uri,
String encoding,
Class<E> beanClass,
String columnFormats,
String nullString) |
| Modifier and Type | Method and Description |
|---|---|
Class<E> |
getType()
Returns the type of the iterated elements.
|
DataContainer<E> |
next(DataContainer<E> container)
Returns the container with the next data element if available, otherwise null.
|
close, getSourceContainer, nextOfSourcepublic FixedWidthBeanIterator(String uri, String encoding, Class<E> beanClass, String columnFormats) throws IOException, ParseException
IOExceptionParseExceptionpublic FixedWidthBeanIterator(String uri, String encoding, Class<E> beanClass, String columnFormats, String nullString) throws IOException, ParseException
IOExceptionParseExceptionpublic Class<E> getType()
DataIteratorpublic DataContainer<E> next(DataContainer<E> container)
DataIteratorcontainer - a DataContainer to receive the iterated dataDataContainer that holds the next element, or null if none is availableCopyright © 2006–2016 Volker Bergmann. All rights reserved.