Class SearchMatch.DefaultSearchMatch

java.lang.Object
org.springframework.shell.support.search.SearchMatch.DefaultSearchMatch
All Implemented Interfaces:
SearchMatch
Enclosing interface:
SearchMatch

public static class SearchMatch.DefaultSearchMatch extends Object implements SearchMatch
  • Method Details

    • match

      public SearchMatchResult match(String text, String pattern)
      Description copied from interface: SearchMatch
      Match a pattern into a given text.
      Specified by:
      match in interface SearchMatch
      Parameters:
      text - the text to search
      pattern - the search pattern
      Returns:
      a result