@Deprecated public class ZipUtil extends Object
| Constructor and Description |
|---|
ZipUtil()
Deprecated.
Constructor for ZipUtil.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
unzip(File zipFile,
File destDir)
Deprecated.
Unpacks a zip file to the target directory.
|
static void |
zip(File zipFile,
File parentDir,
File[] sources,
char pathSeparator)
Deprecated.
Recursively zips a set of root entries into a zipfile, compressing the contents.
|
public static void unzip(File zipFile, File destDir) throws IOException
zipFile - destDir - IOExceptionpublic static void zip(File zipFile, File parentDir, File[] sources, char pathSeparator) throws IOException
zipFile - target zip file.parentDir - a directory containing source files to zip.sources - an array of files and/or directories to zip.pathSeparator - path separator for zip entries.IOExceptionCopyright © 2001–2018 Apache Cayenne. All rights reserved.