Class CompatibilityZipRepositoryExporter
java.lang.Object
com.ibm.websphere.logging.hpel.writer.CompatibilityRepositoryExporter
com.ibm.websphere.logging.hpel.writer.CompatibilityZipRepositoryExporter
- All Implemented Interfaces:
RepositoryExporter
Implementation of the
RepositoryExporter interface exporting log records
into a compressed text file.-
Constructor Summary
ConstructorsConstructorDescriptionCompatibilityZipRepositoryExporter(File archiveFile, HpelFormatter formatter) Creates an instance for storing records in a zipped file in a compatibility text format. -
Method Summary
Methods inherited from class com.ibm.websphere.logging.hpel.writer.CompatibilityRepositoryExporter
storeHeader, storeHeader, storeRecord
-
Constructor Details
-
CompatibilityZipRepositoryExporter
public CompatibilityZipRepositoryExporter(File archiveFile, HpelFormatter formatter) throws IOException Creates an instance for storing records in a zipped file in a compatibility text format.- Parameters:
archiveFile- output fileformatter- formatter to use when converting record messages into text- Throws:
IOException- if an I/O error has occurred
-
-
Method Details
-
close
public void close()Description copied from class:CompatibilityRepositoryExporterflushes and closes the output stream- Specified by:
closein interfaceRepositoryExporter- Overrides:
closein classCompatibilityRepositoryExporter
-