public final class WildCardMatcher extends Object
| Constructor and Description |
|---|
WildCardMatcher(String wildcardExp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getJavaRegexp()
return the java regexp version of this class
|
int |
hashCode() |
static boolean |
isWildcardMatcher(String str)
return if this variable object is a exact mach or a set of variables I use a for cycle to iterate through strings
using a CharacterIterator migh tbe better ?
|
boolean |
match(String str)
Returns true if a matches b and false otherwise
|
static boolean |
match(String wildcard,
String v)
static wildcard matching
|
String |
toString() |
public WildCardMatcher(String wildcardExp)
public boolean match(String str)
o - Objectpublic static boolean match(String wildcard, String v)
wildcard - v - public String getJavaRegexp()
public static boolean isWildcardMatcher(String str)
str - - string to testCopyright © 2015. All rights reserved.