Java Globus API: Class StreamImageDCWriter

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
protected  OutputStream output
           
 
Constructor Summary
StreamImageDCWriter()
           
 
Method Summary
 void close()
           
 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

close

public void close()
           throws IOException
Specified by:
close in interface DataChannelWriter