Public class StringReader extends Reader
Constructor | Description |
---|---|
String Reader(String s) | The function of this constructor is to create the string reader instance and used to read from the character stream. |
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[] cbuf, 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. |