static final class StrMatcher.TrimMatcher extends StrMatcher
StrMatcher.CharMatcher, StrMatcher.CharSetMatcher, StrMatcher.NoMatcher, StrMatcher.StringMatcher, StrMatcher.TrimMatcher
Constructor and Description |
---|
TrimMatcher()
Constructs a new instance of
TrimMatcher . |
Modifier and Type | Method and Description |
---|---|
int |
isMatch(char[] buffer,
int pos,
int bufferStart,
int bufferEnd)
Returns whether or not the given character matches.
|
charMatcher, charSetMatcher, charSetMatcher, commaMatcher, doubleQuoteMatcher, isMatch, noneMatcher, quoteMatcher, singleQuoteMatcher, spaceMatcher, splitMatcher, stringMatcher, tabMatcher, trimMatcher
public int isMatch(char[] buffer, int pos, int bufferStart, int bufferEnd)
isMatch
in class StrMatcher
buffer
- the text content to match against, do not changepos
- the starting position for the match, valid for bufferbufferStart
- the first active index in the buffer, valid for bufferbufferEnd
- the end index of the active buffer, valid for buffer