public static class CompareUtil.AntCompareUtil extends Object implements CompareUtil
my/**/something*.git
CompareUtil.AntCompareUtil, CompareUtil.PlainCompareUtil, CompareUtil.RegExpCompareUtil
Constructor and Description |
---|
CompareUtil.AntCompareUtil() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the human-readable name of the util.
|
char |
getOperator()
Returns the operator name of the util.
|
boolean |
matches(String pattern,
String str)
Tells if the given pattern matches the string according to the implemented comparer/algorithm.
|
public boolean matches(String pattern, String str)
CompareUtil
matches
in interface CompareUtil
pattern
- the pattern to use.str
- the string to match on.public String getName()
CompareUtil
getName
in interface CompareUtil
public char getOperator()
CompareUtil
getOperator
in interface CompareUtil
Copyright © 2004-2016. All Rights Reserved.