Class ZipFileUtil
java.lang.Object
com.almis.awe.tools.filemanager.utils.ZipFileUtil
Zip file util class
- Author:
- pvidal
-
Method Summary
-
Method Details
-
zip
Creates/updates a zip file.- Parameters:
zipFilename
- the name of the zip to createfilenames
- list of filename to add to the zip- Throws:
IOException
- IO exception
-
unzip
Unzips the specified zip file to the specified destination directory. Replaces any files in the destination, if they already exist.- Parameters:
zipFilename
- the name of the zip file to extractdestDirname
- the directory to unzip to- Throws:
IOException
- IO exception
-