public final class ExactOrRegexpPatternMatcher extends AbstractPatternMatcher
ExactPatternMatcher
,
RegexpPatternMatcher
Modifier and Type | Field and Description |
---|---|
static ExactOrRegexpPatternMatcher |
INSTANCE |
ANY_EXPRESSION, EXACT, EXACT_OR_REGEXP, GLOB, REGEXP
Constructor and Description |
---|
ExactOrRegexpPatternMatcher() |
Modifier and Type | Method and Description |
---|---|
protected Matcher |
newMatcher(java.lang.String expression)
Returns an instance of the implementation specific matcher.
|
getMatcher, getName, toString
public static final ExactOrRegexpPatternMatcher INSTANCE
protected Matcher newMatcher(java.lang.String expression)
AbstractPatternMatcher
newMatcher
in class AbstractPatternMatcher
expression
- the string to be matched.