程序包 proguard.io
类 PrioritizingJarReader
java.lang.Object
proguard.io.JarReader
proguard.io.PrioritizingJarReader
- 所有已实现的接口:
DataEntryReader
This
JarReader lets a given DataEntryReader read all data entries of the read
archive data entries in an order that respects a set of given priorities.-
构造器概要
构造器构造器说明PrioritizingJarReader(Map<String, Integer> priorityMap, boolean jmod, DataEntryReader dataEntryReader) Creates a newPrioritizingJarReaderthat delegates reads to the givenDataEntryReaderin the order decided by the given priority map.PrioritizingJarReader(Map<String, Integer> priorityMap, DataEntryReader dataEntryReader) Creates a newPrioritizingJarReaderthat delegates reads to the givenDataEntryReaderin the order decided by the given priority map. -
方法概要
-
构造器详细资料
-
PrioritizingJarReader
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(Map<String, 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
从接口复制的说明:DataEntryReaderReads the given data entry.- 指定者:
read在接口中DataEntryReader- 覆盖:
read在类中JarReader- 抛出:
IOException
-