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) |
setTransferContext
protected DataOutputStream 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 static void close(DataOutputStream myOutput) throws IOException
IOException
public void close() throws IOException
close
in interface DataChannelWriter
IOException
Copyright © 2016. All rights reserved.