程序包 org.glavo.jimage

类 ImageLocation

java.lang.Object
org.glavo.jimage.ImageLocation

public class ImageLocation extends Object
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.
  • 字段详细资料

    • ATTRIBUTE_END

      public static final int ATTRIBUTE_END
      另请参阅:
    • ATTRIBUTE_MODULE

      public static final int ATTRIBUTE_MODULE
      另请参阅:
    • ATTRIBUTE_PARENT

      public static final int ATTRIBUTE_PARENT
      另请参阅:
    • ATTRIBUTE_BASE

      public static final int ATTRIBUTE_BASE
      另请参阅:
    • ATTRIBUTE_EXTENSION

      public static final int ATTRIBUTE_EXTENSION
      另请参阅:
    • ATTRIBUTE_OFFSET

      public static final int ATTRIBUTE_OFFSET
      另请参阅:
    • ATTRIBUTE_COMPRESSED

      public static final int ATTRIBUTE_COMPRESSED
      另请参阅:
    • ATTRIBUTE_UNCOMPRESSED

      public static final int ATTRIBUTE_UNCOMPRESSED
      另请参阅:
    • ATTRIBUTE_COUNT

      public static final int ATTRIBUTE_COUNT
      另请参阅:
    • attributes

      protected final long[] attributes
    • strings

      protected final ImageStrings strings
  • 构造器详细资料

    • ImageLocation

      public ImageLocation(long[] attributes, ImageStrings strings)
  • 方法详细资料

    • compress

      public static byte[] compress(long[] attributes)
    • verify

      public boolean verify(String name)
    • getModule

      public String getModule()
    • getModuleOffset

      public int getModuleOffset()
    • getBase

      public String getBase()
    • getBaseOffset

      public int getBaseOffset()
    • getParent

      public String getParent()
    • getParentOffset

      public int getParentOffset()
    • getExtension

      public String getExtension()
    • getExtensionOffset

      public int getExtensionOffset()
    • getFullName

      public String getFullName()
    • getFullName

      public String getFullName(boolean modulesPrefix)
    • getContentOffset

      public long getContentOffset()
    • getCompressedSize

      public long getCompressedSize()
    • getUncompressedSize

      public long getUncompressedSize()