Package PamUtils
Class FolderZipper
java.lang.Object
PamUtils.FolderZipper
Description of the Class
- Author:
- cjb22
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FolderZipper
public FolderZipper()
-
-
Method Details
-
zipFolder
public static void zipFolder(String srcFolder, String destZipFile, boolean useFolderNameAsRootInZip) Zip the srcFolder into the destFileZipFile. All the folder subtree of the src folder is added to the destZipFile archive. TODO handle the usecase of srcFolder being en file.- Parameters:
srcFolder
- String, the path of the srcFolderdestZipFile
- String, the path of the destination zipFile. This file will be created or erased.useFolderNameAsRootInZip
- Description of the Parameter
-