|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IExporter
The IExporter interface is used for exporting info objects from
their source system to some destination specific to the implementation.
Use the IExporter.export(IInfoObject) method or one of the
exportAll methods to export info objects to the destination. Then
call the IExporter.finish() method to complete the export. Finally, call the
IExporter.close() method to release all resources associated with the
IExporter object.
| Method Summary | |
|---|---|
void |
close()
Closes the archive anad releases all resources that were used to create it. |
boolean |
export(IInfoObject infoObj)
Exports a single info object to the archive. |
java.util.Set |
exportAll(IInfoObjects objs)
Exports a collection of info objects to the archive. |
java.util.Set |
exportAll(java.util.Iterator itr)
Exports a collection of info objects to the archive. |
void |
finish()
Finalizes the archive. |
| Method Detail |
|---|
boolean export(IInfoObject infoObj)
throws BIARException
infoObj - the info object to export.
BIARException - if export fails.
java.util.Set exportAll(IInfoObjects objs)
throws BIARException
objs - the collection of objects to export.
BIARException - if export fails.
java.util.Set exportAll(java.util.Iterator itr)
throws BIARException
itr - an iterator over the collection of info objects to export.
BIARException - if export fails.
void finish()
throws BIARException
BIAROutput is IExporter.close() closed. If this method is
not called, the archive will be corrupted and unusable.
BIARException
void close()
throws BIARException
finalized, the archive will be corrupted and unusable.
BIARException - if some resources were not released.IExporter.finish()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||