net.sf.zekr.common.util
Class ZipUtils

java.lang.Object
  extended by net.sf.zekr.common.util.ZipUtils

public class ZipUtils
extends java.lang.Object

Some utilities for working with zip files.

Since:
Zekr 1.0
Author:
Mohsen Saboorian

Constructor Summary
ZipUtils()
           
 
Method Summary
static void extract(java.io.File zipFile, java.lang.String destDir)
          Extracts zip file zipFile info destDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipUtils

public ZipUtils()
Method Detail

extract

public static void extract(java.io.File zipFile,
                           java.lang.String destDir)
                    throws java.io.IOException
Extracts zip file zipFile info destDir

Parameters:
zipFile - source zip file to be unzipped
destDir - destination directory to extract content of the zip file into it. Will be created first, if does not exist.
Throws:
java.io.IOException