osdep.util
Class Unzipper

java.lang.Object
  extended by osdep.util.Unzipper

public class Unzipper
extends java.lang.Object

Code Copied from Matrex (I had to maintain the library separated) Unzips a file to a directory

Author:
SHZ Mar 10, 2008

Constructor Summary
Unzipper()
           
 
Method Summary
static void copyInputStream(java.io.InputStream in, java.io.OutputStream out)
           
static void unzip(java.lang.String dirPath, java.util.zip.ZipInputStream zipStream)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Unzipper

public Unzipper()
Method Detail

unzip

public static void unzip(java.lang.String dirPath,
                         java.util.zip.ZipInputStream zipStream)
                  throws ZipException
Throws:
ZipException

copyInputStream

public static final void copyInputStream(java.io.InputStream in,
                                         java.io.OutputStream out)
                                  throws java.io.IOException
Throws:
java.io.IOException