Class RecordIterator
java.lang.Object
com.univocity.parsers.common.iterators.ParserIterator<Record>
com.univocity.parsers.common.iterators.RecordIterator
- All Implemented Interfaces:
IterableResult<Record,
,ParsingContext> Iterable<Record>
An iterator of
Record
s. Created when AbstractParser.iterateRecords(File)
(and its overloaded counterparts) is called-
Field Summary
Fields inherited from class com.univocity.parsers.common.iterators.ParserIterator
parser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Record
Returns the next record (either a String[] or aRecord
)Methods inherited from class com.univocity.parsers.common.iterators.ParserIterator
beginParsing, getContext, iterator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
RecordIterator
-
-
Method Details
-
nextResult
Description copied from class:ParserIterator
Returns the next record (either a String[] or aRecord
)- Specified by:
nextResult
in classParserIterator<Record>
- Returns:
- the next record if available.
-