Package org.globus.ftp.dc
Class EBlockImageDCWriter
- java.lang.Object
-
- org.globus.ftp.dc.EBlockAware
-
- org.globus.ftp.dc.EBlockImageDCWriter
-
- All Implemented Interfaces:
DataChannelWriter
public class EBlockImageDCWriter extends EBlockAware implements DataChannelWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected DataOutputStream
output
-
Fields inherited from class org.globus.ftp.dc.EBlockAware
context, EOD, EOF, WILL_CLOSE
-
-
Constructor Summary
Constructors Constructor Description EBlockImageDCWriter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static void
close(DataOutputStream myOutput)
void
endOfData()
void
setDataStream(OutputStream out)
void
write(Buffer buf)
-
Methods inherited from class org.globus.ftp.dc.EBlockAware
setTransferContext
-
-
-
-
Field Detail
-
output
protected DataOutputStream output
-
-
Method Detail
-
setDataStream
public void setDataStream(OutputStream out)
- Specified by:
setDataStream
in interfaceDataChannelWriter
-
write
public void write(Buffer buf) throws IOException
- Specified by:
write
in interfaceDataChannelWriter
- Throws:
IOException
-
endOfData
public void endOfData() throws IOException
- Specified by:
endOfData
in interfaceDataChannelWriter
- Throws:
IOException
-
close
public static void close(DataOutputStream myOutput) throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceDataChannelWriter
- Throws:
IOException
-
-