public class StreamImageDCWriter extends Object implements DataChannelWriter
| Modifier and Type | Field and Description |
|---|---|
protected OutputStream |
output |
| Constructor and Description |
|---|
StreamImageDCWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
endOfData() |
void |
setDataStream(OutputStream out) |
void |
write(Buffer buf) |
protected OutputStream output
public void setDataStream(OutputStream out)
setDataStream in interface DataChannelWriterpublic void write(Buffer buf) throws IOException
write in interface DataChannelWriterIOExceptionpublic void endOfData()
throws IOException
endOfData in interface DataChannelWriterIOExceptionpublic void close()
throws IOException
close in interface DataChannelWriterIOExceptionCopyright © 2016. All rights reserved.