Class StringTrimmingTrimmerMatcher

java.lang.Object
ca.uhn.fhir.jpa.searchparam.extractor.StringTrimmingTrimmerMatcher
All Implemented Interfaces:
org.apache.commons.text.matcher.StringMatcher

public class StringTrimmingTrimmerMatcher extends Object implements org.apache.commons.text.matcher.StringMatcher
Utility class that works with the commons-text StringTokenizer class to return tokens that are whitespace trimmed.
  • Constructor Details

  • Method Details

    • isMatch

      public int isMatch(char[] buffer, int start, int bufferStart, int bufferEnd)
      Specified by:
      isMatch in interface org.apache.commons.text.matcher.StringMatcher