public class ZipUtil extends Object
| 构造器和说明 |
|---|
ZipUtil() |
public static void compress(String srcFilePath, String destFilePath) throws Exception
srcFilePath - destFilePath - Exceptionpublic static void compressList(String srcFilePath, String destFilePath) throws Exception
srcFilePath - destFilePath - Exceptionpublic static final void zipFiles(String dirPath, String outFile, FileFilter filter) throws Exception
dirPath - outFile - filter - ExceptionCopyright © 2020. All rights reserved.