public class StringBufferOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected StringBuffer |
buffer |
| Constructor and Description |
|---|
StringBufferOutputStream(StringBuffer out)
Create an output stream that writes to the target StringBuffer
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(int ch) |
close, flush, write, writeprotected StringBuffer buffer
public StringBufferOutputStream(StringBuffer out)
out - The wrapped output stream.public void write(int ch)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2022. All rights reserved.