com.businessobjects.sdk.biar
Class BIAROutput
java.lang.Object
ExporterAdapter
com.businessobjects.sdk.biar.BIAROutput
public class BIAROutput
- extends ExporterAdapter
The BIAROutput class is used for streaming info objects to a
BIAR archive.
Use the #export(IInfoObject) method or one of the
exportAll methods to export info objects to the archive. Then
call the #finish() method to finalize the archive. Finally, call the
#close() method to release all resources associated with the
BIAROutput object.
To import the archive, use the
IObjectManager.importArchive(String, IImportOptions)
method. To view archive metadata after completing an export, use the
Archive class.
- See Also:
Archive,
IObjectManager
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BIAROutput
public BIAROutput(IEnterpriseSession enSession,
java.lang.String fileName,
IExportOptions opts)
throws BIARException
- Constructs a
BIAROutput instance.
- Parameters:
enSession - a valid enterprise session.fileName - the name of the destination archive file. The file is
created if it does not already exist unless the path contains
directories that do not exist. If the file already exists, it is
overwritten.opts - a set of options to control various aspects of the export.
- Throws:
BIARException - if unsuccessful.- See Also:
BIARFactory.createExportOptions()