|
GXPARSE hosted by |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputControl
Control interface for a buffer with modifiable content and capacity.
Nested Class Summary | |
---|---|
static class |
InputControl.Default
An implementation of InputControl with methods that
do nothing. |
Method Summary | |
---|---|
int |
discard(int index)
Discard a leading prefix of characters from the buffer. |
int |
fill()
Make more characters available in a buffer with free space. |
Methods inherited from interface ca.gorman.util.scan.Expandable |
---|
expand |
Method Detail |
---|
int discard(int index)
Discard a leading prefix of characters from the buffer.
index
- The number of characters to be discarded
IndexOutOfBoundsException
- if index
is negative or
greater than the number of characters avaialableint fill() throws IOException
Make more characters available in a buffer with free space.
IOException
|
GXPARSE download | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |