public class StringOutputStream
extends java.io.OutputStream
Constructor | Description |
---|---|
StringOutputStream() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
Returns a String cotaining the data written to this output stream.
|
void |
write(int data) |
Writes the specified byte to this output stream.
|
public void write(int data)
write
in class java.io.OutputStream
data
- the datapublic java.lang.String toString()
toString
in class java.lang.Object