public class ZipFileHelper
extends java.lang.Object
| Constructor and Description |
|---|
ZipFileHelper() |
ZipFileHelper(ZipFileHandler handler) |
public ZipFileHelper()
public ZipFileHelper(ZipFileHandler handler)
public void zip(java.io.File dirFile,
java.lang.String filename)
throws java.io.FileNotFoundException,
java.io.IOException
dirFile - the directory to zip.filename - the name of the output file.java.io.FileNotFoundExceptionjava.io.IOExceptionpublic void zip(java.io.File dirFile,
java.io.File file)
throws java.io.FileNotFoundException,
java.io.IOException
dirFile - the directory to zip.file - the output file.java.io.FileNotFoundExceptionjava.io.IOException