Package com.opencsv.bean
Class CsvToBean.CsvToBeanIterator
java.lang.Object
com.opencsv.bean.CsvToBean.CsvToBeanIterator
- All Implemented Interfaces:
Iterator<T>
A private inner class for implementing an iterator for the input data.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate T
private String[]
private long
private final SingleLineReader
private final BlockingQueue
<OrderedObject<T>> private final BlockingQueue
<OrderedObject<CsvException>> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
resultantBeansQueue
-
thrownExceptionsQueue
-
lineReader
-
line
-
lineProcessed
private long lineProcessed -
bean
-
-
Constructor Details
-
CsvToBeanIterator
CsvToBeanIterator()
-
-
Method Details
-
processException
private void processException() -
readLineWithPossibleError
- Throws:
IOException
CsvValidationException
-
readSingleLine
private void readSingleLine() -
hasNext
public boolean hasNext() -
next
-
remove
public void remove()
-