| |
|
| org.apache.ivy.plugins.matcher.PatternMatcher
All known Subclasses: org.apache.ivy.plugins.matcher.AbstractPatternMatcher,
PatternMatcher | public interface PatternMatcher (Code) | | 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.
|
Method Summary | |
public Matcher | getMatcher(String expression) Return the matcher for the given expression.
Parameters: expression - the expression to be matched. | public String | getName() return the name of this pattern matcher
the name of this pattern matcher. |
ANY_EXPRESSION | final public static String ANY_EXPRESSION(Code) | | Any expression string: '*'
|
EXACT | final public static String EXACT(Code) | | 'exact' pattern matcher name
|
EXACT_OR_REGEXP | final public static String EXACT_OR_REGEXP(Code) | | pattern matcher name 'exactOrRegexp'
|
GLOB | final public static String GLOB(Code) | | pattern matcher 'glob'
|
REGEXP | final public static String REGEXP(Code) | | pattern matcher name 'regexp'
|
getMatcher | public Matcher getMatcher(String expression)(Code) | | Return the matcher for the given expression.
Parameters: expression - the expression to be matched. Cannot be null ? the matcher instance for the given expression. Never null. |
|
|
|