public interface Matcher
Modifier and Type | Method and Description |
---|---|
boolean |
isExact()
Return if the matcher will match *only* if the expression equals the input.
|
boolean |
matches(java.lang.String input)
Check whether a given string is matched by this matcher.
|
boolean matches(java.lang.String input)
input
- the string to be matched. Cannot be null.boolean isExact()