public class HPELZipRepositoryExporter
extends com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
RepositoryExporter
interface exporting log records in
a compressed file containing HPEL formatted files.Constructor and Description |
---|
HPELZipRepositoryExporter(java.io.File archiveFile)
Constructs exporter storing log records in HPEL format.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Finishes writing exported repository and closes all open resources.
|
public HPELZipRepositoryExporter(java.io.File archiveFile) throws java.io.IOException
archiveFile
- output zipped file where repository log files will be created.java.io.IOException
- if an I/O error has occurredpublic void close()
RepositoryExporter
RepositoryExporter.storeHeader(Properties)
or RepositoryExporter.storeRecord(RepositoryLogRecord)
after calling RepositoryExporter.close()
will result in IllegalStateException
being thrown.close
in interface RepositoryExporter
close
in class com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter