org.apache.camel.dataformat.csv
Class CsvIterator<T>

java.lang.Object
  extended by org.apache.camel.dataformat.csv.CsvIterator<T>
All Implemented Interfaces:
Closeable, Iterator<T>

public class CsvIterator<T>
extends Object
implements Iterator<T>, Closeable


Constructor Summary
CsvIterator(org.apache.commons.csv.CSVParser parser, Reader reader, CsvLineConverter<T> lineConverter)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 T 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,
                   CsvLineConverter<T> lineConverter)
            throws IOException
Throws:
IOException
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T>

next

public T next()
Specified by:
next in interface Iterator<T>

remove

public void remove()
Specified by:
remove in interface Iterator<T>

close

public void close()
Specified by:
close in interface Closeable


Apache Camel