Introduction
Declaration Public class CharArrayWriter extends Writer
Fields
Table | Constructor | Description |
|---|---|
| CharArrayWriter () | The function of this constructor is to create the character array writer and writes in the character buffer called array. |
| CharArrayWriter (int size) | The function of this constructor is to create the character array writer with represented size of buffer. |
Table | 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. |
| void flush () | The function of this method is to flush the specified output stream. |
| void write (int c) | The function of this method is to write the represented character into output stream. |
| void write (Char[] c, int off, int n) | By using this method it writes the data up to 'n' bytes from the output stream to an array of Characters. |
Description
Examples
Key Points