public class FixedStringMatcher extends StringMatcher
| Constructor and Description |
|---|
FixedStringMatcher(String fixedString) |
FixedStringMatcher(String fixedString,
StringMatcher nextMatcher) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
matches(String string,
int offset,
int length)
Checks whether the given substring matches.
|
matchespublic FixedStringMatcher(String fixedString)
public FixedStringMatcher(String fixedString, 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.