public class ZipHelper extends Object
Constructor and Description |
---|
ZipHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
unzipFolder(String srcFolderPath,
String outputFolderPath)
Unzip all zip files in a folder
|
static void |
zipFolder(String srcFolderPath,
String outputZipPath)
Zip folder
|
public static void zipFolder(String srcFolderPath, String outputZipPath) throws FileNotFoundException, IOException
srcFolderPath
- source folder pathoutputZipPath
- output zip file pathFileNotFoundException
IOException
public static void unzipFolder(String srcFolderPath, String outputFolderPath) throws IOException
srcFolderPath
- source folderoutputFolderPath
- output folderIOException
Copyright © 2016. All rights reserved.