public class CSVCellIterator extends Object implements DataIterator<String>
| Constructor and Description |
|---|
CSVCellIterator(String uri,
char separator,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the iterator.
|
char |
getSeparator() |
Class<String> |
getType()
Returns the type of the iterated elements.
|
String |
getUri() |
DataContainer<String> |
next(DataContainer<String> wrapper)
Returns the container with the next data element if available, otherwise null.
|
void |
remove() |
public CSVCellIterator(String uri, char separator, String encoding) throws IOException
IOExceptionpublic String getUri()
public char getSeparator()
public Class<String> getType()
DataIteratorgetType in interface DataIterator<String>public DataContainer<String> next(DataContainer<String> wrapper)
DataIteratornext in interface DataIterator<String>wrapper - a DataContainer to receive the iterated dataDataContainer that holds the next element, or null if none is availablepublic void remove()
public void close()
DataIteratorclose in interface Closeableclose in interface AutoCloseableclose in interface DataIterator<String>Copyright © 2006–2016 Volker Bergmann. All rights reserved.