public class EBlockImageDCWriter extends EBlockAware implements DataChannelWriter
Modifier and Type | Field and Description |
---|---|
protected java.io.DataOutputStream |
output |
context, EOD, EOF, WILL_CLOSE
Constructor and Description |
---|
EBlockImageDCWriter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static void |
close(java.io.DataOutputStream myOutput) |
void |
endOfData() |
void |
setDataStream(java.io.OutputStream out) |
void |
write(Buffer buf) |
setTransferContext
public void setDataStream(java.io.OutputStream out)
setDataStream
in interface DataChannelWriter
public void write(Buffer buf) throws java.io.IOException
write
in interface DataChannelWriter
java.io.IOException
public void endOfData() throws java.io.IOException
endOfData
in interface DataChannelWriter
java.io.IOException
public static void close(java.io.DataOutputStream myOutput) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface DataChannelWriter
java.io.IOException