Package java.io
Class CharArrayWriter
Description:
This method closes the stream and does not release the buffer.
Example
char[] ch = {'H','e','l','l','o'};
CharArrayWriter caw = new CharArrayWriter();
caw.close();
After the construction of a CharArrayWriter, the stream is closed.