public class StringMatcher extends Object
String against a prefix pattern. The matching algorithm
will return true if the tested string starts with the given pattern.
The pattern supports wildcards such as * and ?.| Constructor and Description |
|---|
StringMatcher(String pattern,
boolean ignoreCase) |
| Modifier and Type | Method and Description |
|---|---|
protected Pattern |
getPattern() |
boolean |
match(String text) |
protected String |
translatePattern(String pattern) |
Copyright © 2016. All Rights Reserved.