jodd.file
Class ZipUtil

java.lang.Object
  extended byjodd.file.ZipUtil

public class ZipUtil
extends java.lang.Object

Performs zip/unzip operations on files and directories.


Constructor Summary
ZipUtil()
           
 
Method Summary
static void unzip(java.io.File zipFile, java.io.File destDir)
          Unpacks a zip file to the target directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipUtil

public ZipUtil()
Method Detail

unzip

public static void unzip(java.io.File zipFile,
                         java.io.File destDir)
                  throws java.io.IOException
Unpacks a zip file to the target directory.

Parameters:
zipFile - zip file
destDir - destination directory
Throws:
java.io.IOException


Jodd v0.24.5 Javadoc