public class WildcardMatcher extends Object
?/* wildcard expressions.
Multiple expressions can be separated with a colon (:). In this case the
expression matches if at least one part matches.| Constructor and Description |
|---|
WildcardMatcher(String expression)
Creates a new matcher with the given expression.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String s)
Matches the given string against the expressions of this matcher.
|
public WildcardMatcher(String expression)
expression - wildcard expressionspublic boolean matches(String s)
s - string to testtrue, if the expression matchesCopyright © 2024. All rights reserved.