压缩文件 @param resFilePath 待压缩文件路径 @param zipFilePath 压缩文件路径 @return true: 压缩成功 false: 压缩失败 @throws IOException IO错误时抛出
(String resFilePath, String zipFilePath)
| 138 | * IO错误时抛出 |
| 139 | */ |
| 140 | public static boolean zipFile(String resFilePath, String zipFilePath) |
| 141 | throws IOException { |
| 142 | return zipFile(resFilePath, zipFilePath, null); |
| 143 | } |
| 144 | |
| 145 | /** |
| 146 | * 压缩文件 |