程序包 org.glavo.jimage

接口 ImageStrings

所有已知实现类:
ImageStringsReader

public interface ImageStrings
Implementation Note:
This interface 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.
  • 方法概要

    修饰符和类型
    方法
    说明
    int
    add(String string)
     
    get(int offset)
     
    default int
    match(int offset, String string, int stringOffset)
    If there's a string at offset matching in full a substring of string starting at stringOffset, return the length of that string.
  • 方法详细资料

    • get

      String get(int offset)
    • add

      int add(String string)
    • match

      default int match(int offset, String string, int stringOffset)
      If there's a string at offset matching in full a substring of string starting at stringOffset, return the length of that string. Otherwise returns -1. Optional operation.