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