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 Object implements DataChannelWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected OutputStream
output
-
Constructor Summary
Constructors Constructor Description StreamImageDCWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
endOfData()
void
setDataStream(OutputStream out)
void
write(Buffer buf)
-
-
-
Field Detail
-
output
protected OutputStream 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 void close() throws IOException
- Specified by:
close
in interfaceDataChannelWriter
- Throws:
IOException
-
-