java.lang.Object
org.glavo.jimage.decompressor.ResourceDecompressorRepository
JLink Decompressors. All decompressors must be registered in the static
initializer of this class.
- Implementation Note:
- This class needs to maintain JDK 8 source compatibility. It is used internally in the JDK to implement jimage/jrtfs access, but also compiled and delivered as part of the jrtfs.jar to support access to the jimage file provided by the shipped JDK by tools running on JDK 8.
-
方法概要
修饰符和类型方法说明static ResourceDecompressornewResourceDecompressor(Properties properties, String name) Build a new decompressor for the passed name.
-
方法详细资料
-
newResourceDecompressor
public static ResourceDecompressor newResourceDecompressor(Properties properties, String name) throws IOException Build a new decompressor for the passed name.- 参数:
properties- Contains plugin configuration.name- The plugin name to build.- 返回:
- A decompressor or null if not found
- 抛出:
IOException
-