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.AbstractHPELRepositoryExporterImplementation of theRepositoryExporterinterface exporting log records in a compressed file containing HPEL formatted files.
- 
- 
Constructor SummaryConstructors Constructor Description HPELZipRepositoryExporter(java.io.File archiveFile)Constructs exporter storing log records in HPEL format.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Finishes writing exported repository and closes all open resources.
 
- 
- 
- 
Constructor Detail- 
HPELZipRepositoryExporterpublic HPELZipRepositoryExporter(java.io.File archiveFile) throws java.io.IOExceptionConstructs exporter storing log records in HPEL format.- Parameters:
- archiveFile- output zipped file where repository log files will be created.
- Throws:
- java.io.IOException- if an I/O error has occurred
 
 
- 
 - 
Method Detail- 
closepublic 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 interface- RepositoryExporter
- Overrides:
- closein class- com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
 
 
- 
 
-