|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.weborganic.ox.util.ZipUtils
public final class ZipUtils
A utility class for common Zip functions.
Method Summary | |
---|---|
static void |
unzip(File src,
File dest)
Unzip the the file at the specified location. |
static void |
zip(File src,
File dest)
Zip the specified file or folder. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void unzip(File src, File dest) throws IOException
src
- The file to unzipdest
- The destination folder
IOException
public static void zip(File src, File dest) throws IOException
src
- The folder to zipdest
- The destination zip
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |