Package com.sshtools.client.sftp
Class SftpFileInputStream
java.lang.Object
java.io.InputStream
com.sshtools.client.sftp.SftpFileInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
An InputStream to read the contents of a remote file.
-
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Method Details
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
available
public int available()- Overrides:
availablein classInputStream
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
close
Closes the SFTP file handle.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-