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 CSVRecord
getNextRecord()
Gets the next record or null at the end of stream or max rows read.boolean
hasNext()
CSVRecord
next()
void
remove()
-
-
-
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
null
if 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:
hasNext
in interfacejava.util.Iterator<CSVRecord>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<CSVRecord>
-
-