public class CSVSingleColumIterator extends DataIteratorAdapter<String[],String>
HeavyweightIterator that iterates through all cells of a single CSV column.
Created: 14.10.2009 11:42:49source| Constructor and Description |
|---|
CSVSingleColumIterator(String uri,
int columnIndex) |
CSVSingleColumIterator(String uri,
int columnIndex,
char separator,
boolean ignoreEmptyLines,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
Class<String> |
getType()
Returns the type of the iterated elements.
|
DataContainer<String> |
next(DataContainer<String> wrapper)
Returns the container with the next data element if available, otherwise null.
|
close, getSourceContainer, nextOfSourcepublic CSVSingleColumIterator(String uri, int columnIndex) throws IOException
IOExceptionpublic CSVSingleColumIterator(String uri, int columnIndex, char separator, boolean ignoreEmptyLines, String encoding) throws IOException
IOExceptionpublic Class<String> getType()
DataIteratorpublic DataContainer<String> next(DataContainer<String> wrapper)
DataIteratorwrapper - 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.