MCPcopy Create free account
hub / github.com/SeanDragon/protools / unzipFile

Method unzipFile

common/src/main/java/pro/tools/file/ToolZip.java:322–325  ·  view source on GitHub ↗

解压文件 @param zipFilePath 待解压文件路径 @param destDirPath 目标目录路径 @return true: 解压成功 false: 解压失败 @throws IOException IO错误时抛出

(String zipFilePath, String destDirPath)

Source from the content-addressed store, hash-verified

320 * IO错误时抛出
321 */
322 public static boolean unzipFile(String zipFilePath, String destDirPath)
323 throws IOException {
324 return unzipFile(ToolFile.getFileByPath(zipFilePath), ToolFile.getFileByPath(destDirPath));
325 }
326
327 /**
328 * 解压文件

Callers 1

unzipFilesMethod · 0.95

Calls 2

getFileByPathMethod · 0.95
unzipFileByKeywordMethod · 0.95

Tested by

no test coverage detected