public class ZipFileUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(String zipFilename,
List<String> filenames)
Creates/updates a zip file.
|
static void |
unzip(String zipFilename,
String destDirname)
Unzips the specified zip file to the specified destination directory.
|
public static void create(String zipFilename, List<String> filenames) throws IOException
zipFilename - the name of the zip to createfilenames - list of filename to add to the zipIOExceptionpublic static void unzip(String zipFilename, String destDirname) throws IOException
zipFilename - the name of the zip file to extractdestDirname - the directory to unzip toIOExceptionCopyright © 2021. All rights reserved.