Package ghidra.app.util.viewer.field

# 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 Summary

  Constructors
  Constructor
  Description
  `FieldStringInfo(String parentString, String fieldString, int offset)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getFieldString()`
  The string that exists within the parent string.
  `int`
  `getOffset()`
  The offset of the part string into the parent string
  `String`
  `getParentString()`
  The string that contains the field string
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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`