| Modifier and Type | Field and Description |
|---|---|
protected java.io.BufferedWriter |
out |
| Constructor and Description |
|---|
StreamSink(java.io.OutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
java.lang.String |
toString() |
void |
write(java.lang.Object o) |
public void write(java.lang.Object o)
throws java.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushablejava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException