Interface MultiStringMatcher.Match

Enclosing class:
MultiStringMatcher

public static interface MultiStringMatcher.Match
Describes a match result of MultiStringMatcher.indexOf(CharSequence, int), giving access to the matched string and the offset in the text it was matched at.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Obtains the offset the text was matched at.
    Obtains the matched string.
  • Method Details

    • getText

      String getText()
      Obtains the matched string.
      Returns:
      the text matched
    • getOffset

      int getOffset()
      Obtains the offset the text was matched at.
      Returns:
      the offset