程序包 proguard
类 DataEntryReaderFactory
- java.lang.Object
-
- proguard.DataEntryReaderFactory
-
public class DataEntryReaderFactory extends java.lang.ObjectThis class can create DataEntryReader instances based on class path entries. The readers will unwrap the input data entries from any jars, wars, ears, jmods, and zips before passing them to a given reader.
-
-
构造器概要
构造器 构造器 说明 DataEntryReaderFactory(boolean android)Creates a new DataEntryReaderFactory.
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 proguard.io.DataEntryReadercreateDataEntryReader(ClassPathEntry classPathEntry, proguard.io.DataEntryReader reader)Creates a DataEntryReader that can read the given class path entry.static java.util.List<java.lang.String>getFilterExcludingVersionedClasses(ClassPathEntry classPathEntry)Method to return an augmented filter for supported features.
-
-
-
方法详细资料
-
createDataEntryReader
public proguard.io.DataEntryReader createDataEntryReader(ClassPathEntry classPathEntry, proguard.io.DataEntryReader reader)
Creates a DataEntryReader that can read the given class path entry.- 参数:
classPathEntry- the input class path entry.reader- a data entry reader to which the reading of actual classes and resource files can be delegated.- 返回:
- a DataEntryReader for reading the given class path entry.
-
getFilterExcludingVersionedClasses
public static java.util.List<java.lang.String> getFilterExcludingVersionedClasses(ClassPathEntry classPathEntry)
Method to return an augmented filter for supported features.Currently versioned class files (a feature introduced in Java 9) are not fully supported by ProGuard. Only 1 version of a class can be read and processed. If no custom filter targeting a specific version is used, exclude such classes from being read.
-
-