E - the type of the objects to write
Created: 21.07.2006 15:07:36public class CSVToJavaBeanMapper<E> extends Object implements DataIterator<E>
| Constructor and Description |
|---|
CSVToJavaBeanMapper(Reader reader,
Class<E> type) |
CSVToJavaBeanMapper(Reader reader,
Class<E> type,
char separator,
String emptyValue) |
CSVToJavaBeanMapper(Reader reader,
Class<E> type,
char separator,
String emptyValue,
String[] attributeNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the iterator.
|
Class<E> |
getType()
Returns the type of the iterated elements.
|
DataContainer<E> |
next(DataContainer<E> wrapper)
Returns the container with the next data element if available, otherwise null.
|
DataContainer<String[]> |
nextRaw(DataContainer<String[]> wrapper) |
void |
skip() |
public CSVToJavaBeanMapper(Reader reader, Class<E> type) throws IOException
IOExceptionpublic CSVToJavaBeanMapper(Reader reader, Class<E> type, char separator, String emptyValue) throws IOException
IOExceptionpublic CSVToJavaBeanMapper(Reader reader, Class<E> type, char separator, String emptyValue, String[] attributeNames) throws IOException
IOExceptionpublic Class<E> getType()
DataIteratorgetType in interface DataIterator<E>public DataContainer<E> next(DataContainer<E> wrapper)
DataIteratornext in interface DataIterator<E>wrapper - a DataContainer to receive the iterated dataDataContainer that holds the next element, or null if none is availablepublic DataContainer<String[]> nextRaw(DataContainer<String[]> wrapper)
public void close()
DataIteratorclose in interface Closeableclose in interface AutoCloseableclose in interface DataIterator<E>public void skip()
Copyright © 2006–2016 Volker Bergmann. All rights reserved.