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 DataChannelWriter
public void write(Buffer buf) throws IOException
write
in interface DataChannelWriter
IOException
public void endOfData() throws IOException
endOfData
in interface DataChannelWriter
IOException
public void close() throws IOException
close
in interface DataChannelWriter
IOException
Copyright © 2016. All rights reserved.