CharArrayWriter
Class CharArrayWriter
- java.lang.Object
-
- java.io.Writer
-
- java.io.CharArrayWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable, AutoCloseable
public class CharArrayWriter extends Writer
This class implements a character buffer that can be used as an Writer. The buffer automatically grows when data is written to the stream. The data can be retrieved using toCharArray() and toString().
Note: Invokin