public class TestOutputStream extends OutputStream
OutputStream which writes everything to a StringBuffer
which can be retrieved to see what was written.| Constructor and Description |
|---|
TestOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
String |
getText() |
void |
write(int character) |
close, flush, write, writepublic void write(int character)
throws IOException
write in class OutputStreamIOExceptionpublic String getText()
Copyright © 1999–2017 Apache OODT. All rights reserved.