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, write
public void write(int character) throws IOException
write
in class OutputStream
IOException
public String getText()
Copyright © 1999–2017 Apache OODT. All rights reserved.