org.apache.camel.dataformat.csv
Class CsvIterator
java.lang.Object
org.apache.camel.dataformat.csv.CsvIterator
- All Implemented Interfaces:
- Closeable, Iterator<List<String>>
public class CsvIterator
- extends Object
- implements Iterator<List<String>>, Closeable
Constructor Summary |
CsvIterator(org.apache.commons.csv.CSVParser parser,
Reader reader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CsvIterator
public CsvIterator(org.apache.commons.csv.CSVParser parser,
Reader reader)
throws IOException
- Throws:
IOException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<List<String>>
next
public List<String> next()
- Specified by:
next
in interface Iterator<List<String>>
remove
public void remove()
- Specified by:
remove
in interface Iterator<List<String>>
close
public void close()
- Specified by:
close
in interface Closeable
Apache Camel