Package org.adempiere.pipo2
Class Zipper
- java.lang.Object
-
- org.adempiere.pipo2.Zipper
-
public class Zipper extends Object
Compress package- Version:
- $Id: ImportFAJournal2.java,v 1.0 $
- Author:
- Rob Klein
-
-
Constructor Summary
Constructors Constructor Description Zipper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getParentDir(File zipFilepath)
static void
gzipFile(File srcFile, File destFile)
static void
tarFolder(File srcFolder, File destTarFile, String includesdir)
static void
unpackFile(File zipFilepath, File destinationDir)
static void
zipFolder(File srcFolder, File destZipFile, String includesdir)
Zip the srcFolder into the destFileZipFile.
-
-
-
Method Detail
-
zipFolder
public static void zipFolder(File srcFolder, File destZipFile, String includesdir)
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.
-
-