Package org.globus.ftp.dc
Class StreamImageDCWriter
- java.lang.Object
-
- org.globus.ftp.dc.StreamImageDCWriter
-
- All Implemented Interfaces:
DataChannelWriter
- Direct Known Subclasses:
StreamAsciiDCWriter
public class StreamImageDCWriter extends java.lang.Object implements DataChannelWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.OutputStreamoutput
-
Constructor Summary
Constructors Constructor Description StreamImageDCWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidendOfData()voidsetDataStream(java.io.OutputStream out)voidwrite(Buffer buf)
-
-
-
Method Detail
-
setDataStream
public void setDataStream(java.io.OutputStream out)
- Specified by:
setDataStreamin interfaceDataChannelWriter
-
write
public void write(Buffer buf) throws java.io.IOException
- Specified by:
writein interfaceDataChannelWriter- Throws:
java.io.IOException
-
endOfData
public void endOfData() throws java.io.IOException- Specified by:
endOfDatain interfaceDataChannelWriter- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceDataChannelWriter- Throws:
java.io.IOException
-
-