jodd.io
Class ZipUtil

java.lang.Object
  extended by jodd.io.ZipUtil

public class ZipUtil
extends java.lang.Object

Performs zip/unzip operations on files and directories. todo Add many zip/unzip methods and settings


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


Copyright ©2008 Jodd Team