Class HPELZipRepositoryExporter
java.lang.Object
com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
com.ibm.websphere.logging.hpel.writer.HPELZipRepositoryExporter
- All Implemented Interfaces:
RepositoryExporter
public class HPELZipRepositoryExporter
extends com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
Implementation of the
RepositoryExporter interface exporting log records in
a compressed file containing HPEL formatted files.-
Constructor Summary
ConstructorsConstructorDescriptionHPELZipRepositoryExporter(File archiveFile) Constructs exporter storing log records in HPEL format. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Finishes writing exported repository and closes all open resources.Methods inherited from class com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
storeHeader, storeHeader, storeRecord
-
Constructor Details
-
HPELZipRepositoryExporter
Constructs exporter storing log records in HPEL format.- Parameters:
archiveFile- output zipped file where repository log files will be created.- Throws:
IOException- if an I/O error has occurred
-
-
Method Details
-
close
public void close()Description copied from interface:RepositoryExporterFinishes writing exported repository and closes all open resources. Calling eitherRepositoryExporter.storeHeader(Properties)orRepositoryExporter.storeRecord(RepositoryLogRecord)after callingRepositoryExporter.close()will result inIllegalStateExceptionbeing thrown.- Specified by:
closein interfaceRepositoryExporter- Overrides:
closein classcom.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
-