Package org.apache.commons.text.matcher
Provides algorithms for matching up strings for use with a StringSubstitutor
. The main class here is StringMatcherFactory
.
- Since:
- 1.3
-
Interface Summary Interface Description StringMatcher Determines if a character array portion matches. -
Class Summary Class Description AbstractStringMatcher A matcher that determines if a character array portion matches.AbstractStringMatcher.AndStringMatcher Matches all of the given matchers in order.AbstractStringMatcher.CharArrayMatcher Matches out of a set of characters.AbstractStringMatcher.CharMatcher Matches a character.AbstractStringMatcher.CharSetMatcher Matches a set of characters.AbstractStringMatcher.NoneMatcher Matches nothing.AbstractStringMatcher.TrimMatcher Matches whitespace as per trim().StringMatcherFactory Provides access to matchers defined in this package.