类 Decompressor

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

public final class Decompressor extends Object
Entry point to decompress resources.
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.
  • 构造器详细资料

    • Decompressor

      public Decompressor()
  • 方法详细资料

    • decompressResource

      public byte[] decompressResource(ByteOrder order, ResourceDecompressor.StringsProvider provider, byte[] content) throws IOException
      Decompress a resource.
      参数:
      order - Byte order.
      provider - Strings provider
      content - The resource content to uncompress.
      返回:
      A fully uncompressed resource.
      抛出:
      IOException