类 ResourceDecompressorRepository

java.lang.Object
org.glavo.jimage.decompressor.ResourceDecompressorRepository

public final class ResourceDecompressorRepository extends Object
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.
  • 方法详细资料

    • 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