A rule to inspect and manipulate buffer.
- type of match result| Modifiers | Name | Description |
|---|---|---|
static class |
BufferRule.AnyLineRule |
A rule to be matched to any line. |
static class |
BufferRule.AnyPartialStringRule |
A rule to be matched to any string if it is not terminated by new-line. |
static class |
BufferRule.BytesRule |
A rule to be matched to next bytes up to given length. |
static class |
BufferRule.Factory |
|
static class |
BufferRule.LinePatternRule |
A rule to be matched to line of given java.util.regex.Pattern. |
static class |
BufferRule.LineStringRule |
Same as match(org.hidetake.groovy.ssh.interaction.Buffer) but try match at end of stream. |
static class |
BufferRule.PartialPatternRule |
A rule to be matched to partial string of given java.util.regex.Pattern. |
static class |
BufferRule.PartialStringRule |
A rule to be matched to partial string. |
Inspect the buffer and return match result.
byte[]) or null