Class FieldStringInfo

java.lang.Object
ghidra.app.util.viewer.field.FieldStringInfo

public class FieldStringInfo extends Object
A simple data container class that contains a part string that is part of a parent string with the index of the part string into the parent string.
  • Constructor Details

    • FieldStringInfo

      public FieldStringInfo(String parentString, String fieldString, int offset)
      Parameters:
      parentString - The parent string
      fieldString - The part string that exists within the parent
      offset - the offset of the part string into the parent
  • Method Details

    • getOffset

      public int getOffset()
      The offset of the part string into the parent string
      Returns:
      The offset of the part string into the parent string
    • getParentString

      public String getParentString()
      The string that contains the field string
      Returns:
      The string that contains the field string
    • getFieldString

      public String getFieldString()
      The string that exists within the parent string.
      Returns:
      The string that exists within the parent string.
    • toString

      public String toString()
      Overrides:
      toString in class Object