public class NotMatcher extends StringMatcher
StringMatcher
tests whether strings does not match the given StringMatcher
.Constructor and Description |
---|
NotMatcher(StringMatcher matcher) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
matches(java.lang.String string,
int beginOffset,
int endOffset)
Checks whether the given substring matches.
|
matches, prefix
public NotMatcher(StringMatcher matcher)
protected boolean matches(java.lang.String string, int beginOffset, int endOffset)
StringMatcher
matches
in class StringMatcher
string
- the string to match.beginOffset
- the start offset of the substring (inclusive).endOffset
- the end offset of the substring (exclusive).