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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
output
protected OutputStream output
StreamImageDCWriter
public StreamImageDCWriter()
setDataStream
public void setDataStream(OutputStream out)
- Specified by:
setDataStream
in interface DataChannelWriter
write
public void write(Buffer buf)
throws IOException
- Specified by:
write
in interface DataChannelWriter
- Throws:
IOException
endOfData
public void endOfData()
throws IOException
- Specified by:
endOfData
in interface DataChannelWriter
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface DataChannelWriter
- Throws:
IOException