Fields
Name | Description |
---|---|
buf | Character buffer |
count | Number of valid characters in buffer |
markedPos | Position of mark in buffer |
pos | Current buffer position |
Constructors
Name | Description |
---|---|
CharArrayReader(char[]) | Create an CharArrayReader from the specified array of chars. |
CharArrayReader(char[], int, int) | Create an CharArrayReader from the specified array of chars. |
Methods
Name | Description |
---|---|
close() | Close the stream. |
mark(int) | Mark the present position in the stream. |
markSupported() | Tell whether this stream supports the mark() operation, which it does. |
read() | Read a single character. |
read(char[], int, int) | Read characters into a portion of an array. |
ready() | Tell whether this stream is ready to be read. |
reset() | Reset the stream to the most recent mark, or to the beginning if it has never been marked. |
skip(long) | Skip characters. |