- java.lang.Object
-
- java.io.OutputStream
-
- com.ibm.jvm.dtfjview.tools.utils.StringReceiver
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class StringReceiver extends OutputStream
This is a kind of OutputStream which caches the incoming bytes (instead if printing them out) and releases them as a string whenever it is asked to.
-
-
Constructor Summary
Constructors Constructor Description StringReceiver(String charsetName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
release()
-
Methods declared in class java.io.OutputStream
close, flush, nullOutputStream, write, write, write
-
-
-
-
Constructor Detail
-
StringReceiver
public StringReceiver(String charsetName)
-
-
Method Detail
-
release
public String release() throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
-