public class ZipTools extends Object
| Constructor and Description |
|---|
ZipTools() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createZipFile(File targetFile,
File zipDirectory)
Creates a Zip archive with contents of the given folder, under the specified target file name
|
public static void createZipFile(File targetFile, File zipDirectory) throws IOException
targetFile - File representing the Zip file to be createdzipDirectory - File representing the directory to be zippedIOException - in case of a failure in creating the zip archiveCopyright © 2016–2019 AdroitLogic. All rights reserved.