public class EBlockImageDCWriter extends EBlockAware implements DataChannelWriter
| Modifier and Type | Field and Description |
|---|---|
protected DataOutputStream |
output |
context, EOD, EOF, WILL_CLOSE| Constructor and Description |
|---|
EBlockImageDCWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static void |
close(DataOutputStream myOutput) |
void |
endOfData() |
void |
setDataStream(OutputStream out) |
void |
write(Buffer buf) |
setTransferContextprotected DataOutputStream 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 static void close(DataOutputStream myOutput) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface DataChannelWriterIOExceptionCopyright © 2013. All Rights Reserved.