程序包 proguard.io
类 PrioritizingJarReader
- java.lang.Object
-
- proguard.io.JarReader
-
- proguard.io.PrioritizingJarReader
-
- 所有已实现的接口:
DataEntryReader
public class PrioritizingJarReader extends JarReader
ThisJarReaderlets a givenDataEntryReaderread all data entries of the read archive data entries in an order that respects a set of given priorities.
-
-
构造器概要
构造器 构造器 说明 PrioritizingJarReader(java.util.Map<java.lang.String,java.lang.Integer> priorityMap, boolean jmod, DataEntryReader dataEntryReader)Creates a newPrioritizingJarReaderthat delegates reads to the givenDataEntryReaderin the order decided by the given priority map.PrioritizingJarReader(java.util.Map<java.lang.String,java.lang.Integer> priorityMap, DataEntryReader dataEntryReader)Creates a newPrioritizingJarReaderthat delegates reads to the givenDataEntryReaderin the order decided by the given priority map.
-
-
-
构造器详细资料
-
PrioritizingJarReader
public PrioritizingJarReader(java.util.Map<java.lang.String,java.lang.Integer> priorityMap, DataEntryReader dataEntryReader)Creates a newPrioritizingJarReaderthat delegates reads to the givenDataEntryReaderin the order decided by the given priority map.- 参数:
priorityMap- a map linking filters to priority values. Lower priority values mean higher reading priority. The priority of entries that don't match any filters defaults to 0.dataEntryReader- the reader that can process the jar entries.
-
PrioritizingJarReader
public PrioritizingJarReader(java.util.Map<java.lang.String,java.lang.Integer> priorityMap, boolean jmod, DataEntryReader dataEntryReader)Creates a newPrioritizingJarReaderthat delegates reads to the givenDataEntryReaderin the order decided by the given priority map. This reader can optionally read jmod files.- 参数:
priorityMap- a map linking filters to priority values. Lower priority values mean higher reading priority. The priority of entries that don't match any filters defaults to 0.jmod- specifies whether the input jar is actually a jmod file.dataEntryReader- the reader that can process the jar entries.
-
-
方法详细资料
-
read
public void read(DataEntry dataEntry) throws java.io.IOException
从接口复制的说明:DataEntryReaderReads the given data entry.- 指定者:
read在接口中DataEntryReader- 覆盖:
read在类中JarReader- 抛出:
java.io.IOException
-
-