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
Records. 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 RecordReturns the next record (either a String[] or aRecord)Methods inherited from class com.univocity.parsers.common.iterators.ParserIterator
beginParsing, getContext, iteratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
RecordIterator
-
-
Method Details
-
nextResult
Description copied from class:ParserIteratorReturns the next record (either a String[] or aRecord)- Specified by:
nextResultin classParserIterator<Record>- Returns:
- the next record if available.
-