Public class CharArrayReader extends Reader
Constructor | Description |
---|---|
CharArrayReader (Char[] buf) | The function of this constructor is to create the character array reader and reads into the character buffer called array. |
CharArrayReader (Char[] buf, int offset, int len) | The function of this constructor is to create the character array reader with represented size of buffer. |
Method | Description |
---|---|
void close () | The function of this method is to close the present stream and associated to this stream, systems resources are released without any impact. |
Long skip (long m) | The function of this method is to skip the text or characters in this stream of ' m ' characters. |
Boolean markSupported () | The function of this method is to check the represented mark method is supported by this stream or not |
int read(Char[] c, int off, int n) | By using this method it reads the data up to 'n' bytes from the character stream into an array of characters. |