public final class CompressKit extends Object
| 构造器和说明 |
|---|
CompressKit() |
public static void zip(String dir, String zipPath) throws IOException
dir - 文件夹zipPath - zip全路径名IOException - IO异常public static void tarGz(String dirPath, String tarGzPath) throws IOException
dirPath - 文件夹路径tarGzPath - 压缩文件的路径IOException - IOExceptionCopyright © 2019–2020 blinkfox. All rights reserved.