MCPcopy Create free account
hub / github.com/L-JINBIN/ApkDataMultiplexing / optimize

Method optimize

src/bin/zip/DataMultiplexing.java:29–31  ·  view source on GitHub ↗

@param input 输入文件 @param output 输出文件 @param hostEntryName 原包路径,如 assets/base.apk @param printDetails 是否打印优化详情

(String input, String output, String hostEntryName, boolean printDetails)

Source from the content-addressed store, hash-verified

27 * @param printDetails 是否打印优化详情
28 */
29 public static void optimize(String input, String output, String hostEntryName, boolean printDetails) throws IOException {
30 optimize(new File(input), new File(output), hostEntryName, printDetails);
31 }
32
33 /**
34 * @param input 输入文件

Callers 1

mainMethod · 0.95

Calls 12

collectChildrenMethod · 0.95
getNameMethod · 0.95
getSizeMethod · 0.95
formatFileSizeMethod · 0.95
getEntryNonNullMethod · 0.80
getEntriesMethod · 0.80
putNextHostEntryMethod · 0.80
putNextVirtualEntryMethod · 0.80
copyZipEntryMethod · 0.80
getNameMethod · 0.65
lengthMethod · 0.65

Tested by

no test coverage detected