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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetParentDir(File zipFilepath) static voidstatic voidstatic voidunpackFile(File zipFilepath, File destinationDir) static voidZip 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
-