Interface PatternMatcher
- All Known Implementing Classes:
AbstractPatternMatcher, ExactOrRegexpPatternMatcher, ExactPatternMatcher, GlobPatternMatcher, RegexpPatternMatcher
public interface PatternMatcher
Interface for a pattern matcher.
The pattern matcher is the main abstraction regarding the matching of an expression. Implementation may vary depending on the expression syntax handling that is desired.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetMatcher(String expression) Return the matcher for the given expression.getName()return the name of this pattern matcher
-
Field Details
-
EXACT
-
REGEXP
-
GLOB
-
EXACT_OR_REGEXP
-
ANY_EXPRESSION
-
-
Method Details
-
getMatcher
-
getName
String getName()return the name of this pattern matcher- Returns:
- the name of this pattern matcher. Never null.
- See Also:
-