org.globus.ftp.dc
Class StreamImageDCWriter

java.lang.Object
  extended byorg.globus.ftp.dc.StreamImageDCWriter
All Implemented Interfaces:
DataChannelWriter
Direct Known Subclasses:
StreamAsciiDCWriter

public class StreamImageDCWriter
extends Object
implements DataChannelWriter


Field Summary
protected  OutputStream output
           
 
Constructor Summary
StreamImageDCWriter()
           
 
Method Summary
 void close()
           
 void endOfData()
           
 void setDataStream(OutputStream out)
           
 void write(Buffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

output

protected OutputStream output
Constructor Detail

StreamImageDCWriter

public StreamImageDCWriter()
Method Detail

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