ch.ethz.ssh2
Class SCPOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.io.BufferedOutputStream
              extended by ch.ethz.ssh2.SCPOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class SCPOutputStream
extends BufferedOutputStream

Version:
$Id:$

Field Summary
 
Fields inherited from class java.io.BufferedOutputStream
buf, count
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
SCPOutputStream(SCPClient client, Session session, String remoteFile, long length, String mode)
           
 
Method Summary
 void close()
           
 
Methods inherited from class java.io.BufferedOutputStream
flush, write, write
 
Methods inherited from class java.io.FilterOutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCPOutputStream

public SCPOutputStream(SCPClient client,
                       Session session,
                       String remoteFile,
                       long length,
                       String mode)
                throws IOException
Throws:
IOException
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class FilterOutputStream
Throws:
IOException


Copyright © 2011. All Rights Reserved.