|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompareUtil
Base interface for the compare-algorithms.
Nested Class Summary | |
---|---|
static class |
CompareUtil.AntCompareUtil
Compares based on Ant-style paths. |
static class |
CompareUtil.PlainCompareUtil
Compares with pattern.equals(str). |
static class |
CompareUtil.RegExpCompareUtil
Compares with regular-expressions. |
Method Summary | |
---|---|
String |
getName()
Returns the human-readable name of the util. |
boolean |
matches(String pattern,
String str)
Tells if the given pattern matches the string according to the implemented comparer/algorithm. |
Method Detail |
---|
boolean matches(String pattern, String str)
pattern
- the pattern to use.str
- the string to match on.
String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |