public static class CompareUtil.PlainCompareUtil extends Object implements CompareUtil
CompareUtil.AntCompareUtil, CompareUtil.PlainCompareUtil, CompareUtil.RegExpCompareUtil
Constructor and Description |
---|
PlainCompareUtil() |
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 © 2016–2020. All rights reserved.