|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.plugins.matcher.AbstractPatternMatcher
org.apache.ivy.plugins.matcher.ExactOrRegexpPatternMatcher
public final class ExactOrRegexpPatternMatcher
A pattern matcher that tries to match exactly the input with the expression, or match it as a pattern.
The evaluation for matching is perform first by checking if expression and input are equals (via equals method) else it attempts to do it by trying to match the input using the expression as a regexp.
ExactPatternMatcher
,
RegexpPatternMatcher
Field Summary | |
---|---|
static ExactOrRegexpPatternMatcher |
INSTANCE
|
Fields inherited from interface org.apache.ivy.plugins.matcher.PatternMatcher |
---|
ANY_EXPRESSION, EXACT, EXACT_OR_REGEXP, GLOB, REGEXP |
Constructor Summary | |
---|---|
ExactOrRegexpPatternMatcher()
|
Method Summary | |
---|---|
protected Matcher |
newMatcher(java.lang.String expression)
Returns an instance of the implementation specific matcher. |
Methods inherited from class org.apache.ivy.plugins.matcher.AbstractPatternMatcher |
---|
getMatcher, getName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ExactOrRegexpPatternMatcher INSTANCE
Constructor Detail |
---|
public ExactOrRegexpPatternMatcher()
Method Detail |
---|
protected Matcher newMatcher(java.lang.String expression)
AbstractPatternMatcher
newMatcher
in class AbstractPatternMatcher
expression
- the string to be matched.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |