Package org.opencms.ui.apps.logfile
Class CmsLogDownloadDialog.ZipGenerator
java.lang.Object
org.opencms.ui.apps.logfile.CmsLogDownloadDialog.ZipGenerator
- Enclosing class:
- CmsLogDownloadDialog
Helper class for generating the zip file for the log download.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ZipGenerator
Creates a new instance.- Parameters:
output
- the output stream to write to
-
-
Method Details
-
addToZip
Adds a file to a zip-stream.- Parameters:
directory
- to be zippedfile
- to be added zo zip- Throws:
IOException
- exception
-
close
Closes the zip stream.- Throws:
IOException
- if something goes wrong
-