org.deegree.commons.utils.io
Class Zip
java.lang.Object
org.deegree.commons.utils.io.Zip
public class Zip
- extends Object
- Version:
- $Revision: 29714 $, $Date: 2011-02-15 17:17:41 +0100 (Tue, 15 Feb 2011) $
- Author:
- Andreas Schmitz, last edited by: $Author: aschmitz $
Constructor Summary |
Zip()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Zip
public Zip()
unzip
public static void unzip(InputStream in,
File dir,
boolean overwrite)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
unzip
public static void unzip(InputStream in,
File dir)
throws IOException
- Parameters:
in
- dir
-
- Throws:
IOException
zip
public static void zip(File f,
ZipOutputStream out,
URI parent)
throws IOException
- .svn files/directories will be ignored.
- Parameters:
f
- out
- parent
- may be null, all written paths in the zip will be relative to this one (default is f.toURI)
- Throws:
IOException
Copyright © 2011. All Rights Reserved.