public class WrappedOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
WrappedOutputStream(OutputStream os,
String charsetName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deactivate()
Deactivates any further data collecting.
|
String |
getCollectedPayload()
Returns the collected message payload.
|
void |
write(byte[] b,
int off,
int len) |
close, flush, write, writepublic WrappedOutputStream(OutputStream os, String charsetName)
os - the output data stream to be wrappedcharsetName - character set name, may be null if not known.public String getCollectedPayload()
public void deactivate()
public void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionCopyright © 2016 Open eHealth Foundation. All rights reserved.