public class CharArrayWriter2 extends CharArrayWriter
CharArrayWriter.
You can get access to the internal char buffer using
toCharSequence()buf, count| Constructor and Description |
|---|
CharArrayWriter2() |
CharArrayWriter2(int initialSize) |
CharArrayWriter2(Reader reader,
int readBuffSize,
boolean close) |
| Modifier and Type | Method and Description |
|---|---|
int |
readFrom(Reader reader,
int readBuffSize,
boolean close) |
CharArray |
toCharSequence()
Returns the input data as
CharArray.Note that the internal buffer is not copied. |
public CharArrayWriter2()
public CharArrayWriter2(int initialSize)
public CharArrayWriter2(Reader reader, int readBuffSize, boolean close) throws IOException
IOExceptionpublic CharArray toCharSequence()
CharArray.public int readFrom(Reader reader, int readBuffSize, boolean close) throws IOException
IOExceptionCopyright © 2021. All rights reserved.