com.dynamide.util
Class Zip

java.lang.Object
  extended by com.dynamide.util.Zip

public class Zip
extends java.lang.Object


Field Summary
static int ZM_APPEND
           
static int ZM_NONE
           
static int ZM_READ
           
static int ZM_WRITE
           
 
Constructor Summary
Zip(java.lang.String zipfilename, int mode)
           
 
Method Summary
 boolean addDirToZip(java.lang.String dirname, java.lang.String[] filters, java.lang.String entryName, boolean recurse)
           
 boolean addDirToZip(java.lang.String dirname, java.lang.String entryName, boolean recurse)
           
 boolean addToZip(java.lang.String filename, java.lang.String entryName)
           
 void close()
           
 boolean replaceEntry(java.lang.String filename, java.lang.String entryName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZM_NONE

public static final int ZM_NONE
See Also:
Constant Field Values

ZM_READ

public static final int ZM_READ
See Also:
Constant Field Values

ZM_WRITE

public static final int ZM_WRITE
See Also:
Constant Field Values

ZM_APPEND

public static final int ZM_APPEND
See Also:
Constant Field Values
Constructor Detail

Zip

public Zip(java.lang.String zipfilename,
           int mode)
    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

addToZip

public boolean addToZip(java.lang.String filename,
                        java.lang.String entryName)

replaceEntry

public boolean replaceEntry(java.lang.String filename,
                            java.lang.String entryName)

addDirToZip

public boolean addDirToZip(java.lang.String dirname,
                           java.lang.String entryName,
                           boolean recurse)

addDirToZip

public boolean addDirToZip(java.lang.String dirname,
                           java.lang.String[] filters,
                           java.lang.String entryName,
                           boolean recurse)


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.