org.apache.ivy.plugins.matcher
public interface PatternMatcher
Field Summary | |
---|---|
static String | ANY_EXPRESSION
Any expression string: '*' |
static String | EXACT
'exact' pattern matcher name |
static String | EXACT_OR_REGEXP
pattern matcher name 'exactOrRegexp' |
static String | GLOB
pattern matcher 'glob' |
static String | REGEXP
pattern matcher name 'regexp' |
Method Summary | |
---|---|
Matcher | getMatcher(String expression)
Return the matcher for the given expression.
|
String | getName()
return the name of this pattern matcher
|
Parameters: expression the expression to be matched. Cannot be null ?
Returns: the matcher instance for the given expression. Never null.
Returns: the name of this pattern matcher. Never null.
See Also: EXACT REGEXP GLOB EXACT_OR_REGEXP