@Component public class WildcardHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
WILDCARD_TOKEN
The token to use as a wildcard character.
|
| Constructor and Description |
|---|
WildcardHelper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String string,
String expression)
Returns whether the given string matches the given expression.
|
public static final String WILDCARD_TOKEN
public boolean matches(String string, String expression)
string - The string to matchexpression - The wildcard expressionCopyright © 2019. All rights reserved.