Package ghidra.app.util.viewer.field
Class FieldStringInfo
- java.lang.Object
-
- ghidra.app.util.viewer.field.FieldStringInfo
-
public class FieldStringInfo extends java.lang.ObjectA 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(java.lang.String parentString, java.lang.String fieldString, int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFieldString()The string that exists within the parent string.intgetOffset()The offset of the part string into the parent stringjava.lang.StringgetParentString()The string that contains the field stringjava.lang.StringtoString()
-
-
-
Method Detail
-
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 java.lang.String getParentString()
The string that contains the field string- Returns:
- The string that contains the field string
-
getFieldString
public java.lang.String getFieldString()
The string that exists within the parent string.- Returns:
- The string that exists within the parent string.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-