dk.apaq.vfs.impl.sftp
Class SftpInputStream
java.lang.Object
java.io.InputStream
dk.apaq.vfs.impl.sftp.SftpInputStream
- All Implemented Interfaces:
- Closeable
public class SftpInputStream
- extends InputStream
- Author:
- krog
|
Constructor Summary |
SftpInputStream(ch.ethz.ssh2.SFTPv3Client sftpc,
ch.ethz.ssh2.SFTPv3DirectoryEntry entry,
ch.ethz.ssh2.SFTPv3FileHandle fileHandle)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SftpInputStream
public SftpInputStream(ch.ethz.ssh2.SFTPv3Client sftpc,
ch.ethz.ssh2.SFTPv3DirectoryEntry entry,
ch.ethz.ssh2.SFTPv3FileHandle fileHandle)
available
public int available()
throws IOException
- Overrides:
available in class InputStream
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class InputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
read
public int read(byte[] b)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
Copyright © 2011. All Rights Reserved.