|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ivy.plugins.matcher.AbstractPatternMatcher
public abstract class AbstractPatternMatcher
An abstract implementation of the pattern matcher providing base template methods
| Field Summary |
|---|
| Fields inherited from interface org.apache.ivy.plugins.matcher.PatternMatcher |
|---|
ANY_EXPRESSION, EXACT, EXACT_OR_REGEXP, GLOB, REGEXP |
| Constructor Summary | |
|---|---|
AbstractPatternMatcher(java.lang.String name)
Create a new instance of a pattern matcher |
|
| Method Summary | |
|---|---|
Matcher |
getMatcher(java.lang.String expression)
Return the matcher for the given expression. |
java.lang.String |
getName()
return the name of this pattern matcher |
protected abstract Matcher |
newMatcher(java.lang.String expression)
Returns an instance of the implementation specific matcher. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPatternMatcher(java.lang.String name)
name - the name of the pattern matcher. Never null.| Method Detail |
|---|
public Matcher getMatcher(java.lang.String expression)
PatternMatcher
getMatcher in interface PatternMatcherexpression - the expression to be matched. Cannot be null ?
public java.lang.String getName()
PatternMatcher
getName in interface PatternMatcherPatternMatcher.EXACT,
PatternMatcher.REGEXP,
PatternMatcher.GLOB,
PatternMatcher.EXACT_OR_REGEXPprotected abstract Matcher newMatcher(java.lang.String expression)
expression - the string to be matched.
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||