Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.util
Class Zipper

java.lang.Object
  extended by 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 call zipDirectory() 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
Zipper(java.io.File sourceDir, java.io.File outputFile)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 java.io.File zipDirectory()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Zipper

public Zipper(java.io.File sourceDir,
              java.io.File outputFile)
Method Detail

main

public static void main(java.lang.String[] args)

zipDirectory

public java.io.File zipDirectory()
                          throws java.io.IOException
Throws:
java.io.IOException

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home