Package ghidra.util
Class WordLocation
- java.lang.Object
-
- ghidra.util.WordLocation
-
public class WordLocation extends java.lang.ObjectA simple object that represents a word as defined byStringUtilities.findWord(String, int). This class contains the position of the word within the original context from whence it came.
-
-
Constructor Summary
Constructors Constructor Description WordLocation(java.lang.String context, java.lang.String word, int start)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WordLocationempty(java.lang.String context)java.lang.StringgetContext()intgetStart()java.lang.StringgetWord()booleanisEmpty()java.lang.StringtoString()
-
-
-
Method Detail
-
empty
public static WordLocation empty(java.lang.String context)
-
isEmpty
public boolean isEmpty()
-
getContext
public java.lang.String getContext()
-
getWord
public java.lang.String getWord()
-
getStart
public int getStart()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-