public class SeekableMatcherDelegate extends Object implements SeekableMatcher
| Modifier and Type | Field and Description |
|---|---|
protected SeekableMatcher |
delegate |
| Constructor and Description |
|---|
SeekableMatcherDelegate(SeekableMatcher delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
find(Seekable seekable)
Move the position to the next match.
|
boolean |
isForward()
Whether the matcher matches in forward direction and thus nextPos() moves towards the end of the match.
|
void |
resetState()
Reset the state of the matcher such that it can be used with a fresh seekable
|
protected SeekableMatcher delegate
public SeekableMatcherDelegate(SeekableMatcher delegate)
public boolean isForward()
SeekableMatcherisForward in interface SeekableMatcherpublic void resetState()
SeekableMatcherresetState in interface SeekableMatcherpublic boolean find(Seekable seekable) throws IOException
SeekableMatcherfind in interface SeekableMatcherIOExceptionCopyright © 2020. All rights reserved.