ch.ethz.ssh2
Class SCPInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.BufferedInputStream
              extended by ch.ethz.ssh2.SCPInputStream
All Implemented Interfaces:
Closeable

public class SCPInputStream
extends BufferedInputStream

Version:
$Id:$

Field Summary
 
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
SCPInputStream(SCPClient client, Session session)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.BufferedInputStream
available, mark, markSupported, reset, skip
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCPInputStream

public SCPInputStream(SCPClient client,
                      Session session)
               throws IOException
Throws:
IOException
Method Detail

read

public int read()
         throws IOException
Overrides:
read in class BufferedInputStream
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class BufferedInputStream
Throws:
IOException

close

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


Copyright © 2011. All Rights Reserved.