com.salto.db.generator
Class ZipUtil

java.lang.Object
  extended by com.salto.db.generator.ZipUtil

public final class ZipUtil
extends java.lang.Object


Constructor Summary
ZipUtil()
           
 
Method Summary
static void unzip(java.io.InputStream stream, java.lang.String directory)
           
static void unzipAFile(java.util.zip.ZipInputStream zin, java.lang.String s)
           
 
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.InputStream stream,
                         java.lang.String directory)
                  throws java.io.IOException
Parameters:
stream -
Throws:
java.io.IOException

unzipAFile

public static void unzipAFile(java.util.zip.ZipInputStream zin,
                              java.lang.String s)
                       throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2002-2008 Salto Consulting. All Rights Reserved.