程序包 proguard.io.util
类 ClassPathUtil
java.lang.Object
proguard.io.util.ClassPathUtil
-
方法概要
修饰符和类型方法说明static StringMatcherdetermineCompressionMethod(ClassPath classPath) Loop through all the input zip entries inClassPathto determine the compression methods.static booleanhasAabInput(ClassPath classPath) Returns whether the class path contains any input app bundles.static booleanReturns whether the class path contains android target formats.static booleanReturns whether the class path contains dalvik target formats.
-
方法详细资料
-
hasAabInput
Returns whether the class path contains any input app bundles. -
isAndroid
Returns whether the class path contains android target formats. -
isDalvik
Returns whether the class path contains dalvik target formats. -
determineCompressionMethod
Loop through all the input zip entries inClassPathto determine the compression methods. For dex files, if one entry is uncompressed, a regex is added to match all dex files. That allows to keep a consistent compression method regardless of the number of dex files after processing (edge case if we add classes and a new dex file is needed).- 参数:
classPath- the entry to scan.
-