Public class PushbackReader extends FilterReader
Constructor | Description |
---|---|
PushBackReader (Reader in) | The function of this constructor is to create the push back reader instance and used to read character into buffer. |
PushBackReader (Reader in, int size) | The function of this constructor is to create the push back reader instance and used to read character into the represented size of buffer. |
Method | Description |
---|---|
void close () | The function of this method is to close the present stream and associated to input stream systems resources are released. |
Boolean markSupported () | The function of this method is to check the represented mark method is supported by this stream or not. |
void unread(char[] cbuf, int off, int n) | The function of this method is to push back the specified length of array of characters from the stream and copied into push back buffer. |
void unread(char[] cbuf) | The function of this method is to push back the characters and copied into push back buffer. |