Package org.eclipse.jface.text
Interface MultiStringMatcher.Match
-
- Enclosing class:
- MultiStringMatcher
public static interface MultiStringMatcher.MatchDescribes a match result ofMultiStringMatcher.indexOf(CharSequence, int), giving access to the matched string and the offset in the text it was matched at.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetOffset()Obtains the offset thetextwas matched at.java.lang.StringgetText()Obtains the matched string.
-
-
-
Method Detail
-
getText
java.lang.String getText()
Obtains the matched string.- Returns:
- the text matched
-
getOffset
int getOffset()
Obtains the offset thetextwas matched at.- Returns:
- the offset
-
-