Package org.xhtmlrenderer.util
Class Zipper
- java.lang.Object
-
- org.xhtmlrenderer.util.Zipper
-
public class Zipper extends java.lang.Object
Create a ZIP-format file from the contents of some directory. All files in the directory are included. To use, instantiate with a reference to the directory to ZIP, and to the output file to create, then callzipDirectory()
to create the output file. Note that this is ZIP-compatible, not GZIP-compatible (ZIP is both an archive format and a compression format, GZIP is just a compression format).
-
-
Constructor Summary
Constructors Constructor Description Zipper(java.io.File sourceDir, java.io.File outputFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
java.io.File
zipDirectory()
-