Package org.adempiere.pipo2
Class Zipper
java.lang.Object
org.adempiere.pipo2.Zipper
Compress package
- Version:
- $Id: ImportFAJournal2.java,v 1.0 $
- Author:
- Rob Klein
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getParentDir
(File zipFilepath) static void
static void
static void
unpackFile
(File zipFilepath, File destinationDir) static void
Zip the srcFolder into the destFileZipFile.
-
Constructor Details
-
Zipper
public Zipper()
-
-
Method Details
-
zipFolder
Zip the srcFolder into the destFileZipFile. All the folder subtree of the src folder is added to the destZipFile archive.- Parameters:
srcFolder
- File, the path of the srcFolderdestZipFile
- File, the path of the destination zipFile. This file will be created or erased.
-
tarFolder
-
gzipFile
-
unpackFile
-
getParentDir
-