Entity - the type of entities exported by the exporterExportedType - the type that represents the entity in the exportpublic interface Exporter<Entity,ExportedType>
| Modifier and Type | Method and Description |
|---|---|
ExportingIterator<ExportedType> |
getExportingIterator()
Creates an iterator that is able to traverse the exported data and serialize them
one by one.
|
String |
getNotes()
This method can return some notes that the exporter gathered during exporting the
entities that are not specific to the individual entities.
|
ExportingIterator<ExportedType> getExportingIterator()
The implementation is free to preload the exported entities or to somehow load them
one by one as the callers request by calling Iterator.next().
String getNotes()
This method is only called after the export iterator
reached the end.
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.