org.apache.camel.dataformat.csv
Class CsvIterator

java.lang.Object
  extended by 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)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 List<String> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvIterator

public CsvIterator(org.apache.commons.csv.CSVParser parser,
                   Reader reader)
            throws IOException
Throws:
IOException
Method Detail

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