net.datacrow.util.zip
Class ZipFile

java.lang.Object
  extended by net.datacrow.util.zip.ZipFile

public class ZipFile
extends java.lang.Object


Constructor Summary
ZipFile(java.io.File file)
           
ZipFile(java.lang.String path, java.lang.String filename)
           
 
Method Summary
 void addEntry(java.lang.String name, byte[] bytes)
           
 void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipFile

public ZipFile(java.lang.String path,
               java.lang.String filename)
        throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

ZipFile

public ZipFile(java.io.File file)
        throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

addEntry

public void addEntry(java.lang.String name,
                     byte[] bytes)
              throws java.io.IOException
Throws:
java.io.IOException

close

public void close()