public class StringOutputStream extends OutputStream
| Constructor and Description |
|---|
StringOutputStream()
Initializes an instance of this class.
|
StringOutputStream(OutputStream wrapped)
Initializes an instance of this class with the supplied wrapped
OutputStream. |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength() |
StringBuffer |
getStringBuffer() |
String |
toString() |
void |
write(int b) |
close, flush, write, writepublic StringOutputStream()
public StringOutputStream(OutputStream wrapped)
OutputStream.wrapped - a stream to write the output intopublic int getLength()
public StringBuffer getStringBuffer()
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.