public class WildcardMatcher
extends java.lang.Object
| Constructor and Description |
|---|
WildcardMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(java.lang.String text,
java.lang.String pattern)
Performs a wildcard matching for the text and pattern
provided.
|
public boolean match(java.lang.String text,
java.lang.String pattern)
text - the text to be tested for matches.pattern - the pattern to be matched for.
This can contain the wildcard character '*' (asterisk).