Package org.apache.commons.csv
Class CSVParser.CSVRecordIterator
- java.lang.Object
-
- org.apache.commons.csv.CSVParser.CSVRecordIterator
-
-
Constructor Summary
Constructors Constructor Description CSVRecordIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private CSVRecordgetNextRecord()Gets the next record or null at the end of stream or max rows read.booleanhasNext()CSVRecordnext()voidremove()
-
-
-
Field Detail
-
current
private CSVRecord current
-
-
Method Detail
-
getNextRecord
private CSVRecord getNextRecord()
Gets the next record or null at the end of stream or max rows read.- Returns:
- the next record, or
nullif the end of the stream has been reached. - Throws:
java.io.IOException- on parse error or input read-failureCSVException- on invalid input.
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<CSVRecord>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<CSVRecord>
-
-