Package org.apache.ivy.plugins.matcher
Class RegexpPatternMatcher
java.lang.Object
org.apache.ivy.plugins.matcher.AbstractPatternMatcher
org.apache.ivy.plugins.matcher.RegexpPatternMatcher
- All Implemented Interfaces:
PatternMatcher
A pattern matcher matching input using regular expressions.
- See Also:
-
Field Summary
FieldsFields inherited from interface org.apache.ivy.plugins.matcher.PatternMatcher
ANY_EXPRESSION, EXACT, EXACT_OR_REGEXP, GLOB, REGEXP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Matcher
newMatcher
(String expression) Returns an instance of the implementation specific matcher.Methods inherited from class org.apache.ivy.plugins.matcher.AbstractPatternMatcher
getMatcher, getName, toString
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
RegexpPatternMatcher
public RegexpPatternMatcher()
-
-
Method Details
-
newMatcher
Description copied from class:AbstractPatternMatcher
Returns an instance of the implementation specific matcher.- Specified by:
newMatcher
in classAbstractPatternMatcher
- Parameters:
expression
- the string to be matched.- Returns:
- the instance of the related matcher. Never null.
-