org.adempiere.pipo
Class CreateZipFile
java.lang.Object
org.adempiere.pipo.CreateZipFile
public class CreateZipFile
- extends Object
Compress package
- Version:
- $Id: ImportFAJournal2.java,v 1.0 $
- Author:
- Rob Klein
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateZipFile
public CreateZipFile()
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.
tarFolder
public static void tarFolder(File srcFolder,
File destTarFile,
String includesdir)
gzipFile
public static void gzipFile(File srcFile,
File destFile)
unpackFile
public static void unpackFile(File zipFilepath,
File destinationDir)
getParentDir
public static String getParentDir(File zipFilepath)
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.