public class VariableStringMatcher extends StringMatcher
| Constructor and Description |
|---|
VariableStringMatcher(char[] allowedCharacters,
char[] disallowedCharacters,
int minimumLength,
int maximumLength,
StringMatcher nextMatcher) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
matches(String string,
int offset,
int length)
Checks whether the given substring matches.
|
matchespublic VariableStringMatcher(char[] allowedCharacters,
char[] disallowedCharacters,
int minimumLength,
int maximumLength,
StringMatcher nextMatcher)
protected boolean matches(String string, int offset, int length)
StringMatchermatches in class StringMatcherstring - the string to match.offset - the start offset of the substring.length - the length of the substring.Copyright © 2016. All rights reserved.