Class CsvToBean.CsvToBeanIterator
java.lang.Object
com.opencsv.bean.CsvToBean.CsvToBeanIterator
- All Implemented Interfaces:
Iterator<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Tprivate String[]private longprivate final SingleLineReaderprivate final BlockingQueue<OrderedObject<T>> private final BlockingQueue<OrderedObject<CsvException>> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
IOExceptionCsvValidationException
-
readSingleLine
private void readSingleLine() -
hasNext
-
next
-
remove
-