net.sourceforge.jpotpourri.util
Class ZipUtil

java.lang.Object
  extended by net.sourceforge.jpotpourri.util.ZipUtil

public final class ZipUtil
extends java.lang.Object

Author:
christoph_pickl@users.sourceforge.net

Method Summary
static void main(java.lang.String[] args)
           
static void unzip(java.io.File file, java.util.zip.ZipFile zipFile, java.io.File targetDirectory)
           
static void zipDirectory(java.io.File sourceDirectory, java.io.File targetZipFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

unzip

public static void unzip(java.io.File file,
                         java.util.zip.ZipFile zipFile,
                         java.io.File targetDirectory)
                  throws ZipUtilException
Throws:
ZipUtilException

zipDirectory

public static void zipDirectory(java.io.File sourceDirectory,
                                java.io.File targetZipFile)
                         throws ZipUtilException
Throws:
ZipUtilException

main

public static void main(java.lang.String[] args)
                 throws ZipUtilException
Throws:
ZipUtilException


Copyright © 2008. All Rights Reserved.