|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecordSetIterator
Class for iterating through the 'record' elements (GedcomX documents) in a RecordSet one at a time from a stream (e.g., a gzipped byte array) without having to inflate all the records at once. User: Brent Hale Date: 6/9/2015
| Method Summary | |
|---|---|
void |
close()
Close the input stream and/or accompanying reader if they are still open. |
Gedcomx |
getMetadata()
Retrieve the metadata for the RecordSet. |
boolean |
hasNext()
Tell whether the RecordIterator has another GedcomX record to return. |
Gedcomx |
next()
Get the next Gedcomx Record from the RecordSet. |
void |
remove()
|
| Method Detail |
|---|
boolean hasNext()
hasNext in interface Iterator<Gedcomx>Gedcomx next()
next in interface Iterator<Gedcomx>Gedcomx getMetadata()
void remove()
remove in interface Iterator<Gedcomx>void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||