private class SftpFileObject.SftpInputStream extends MonitorInputStream
Modifier and Type | Field and Description |
---|---|
private com.jcraft.jsch.ChannelSftp |
channel |
Constructor and Description |
---|
SftpInputStream(com.jcraft.jsch.ChannelSftp channel,
java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
protected void |
onClose()
Called after the stream has been closed.
|
public SftpInputStream(com.jcraft.jsch.ChannelSftp channel, java.io.InputStream in)
protected void onClose() throws java.io.IOException
onClose
in class MonitorInputStream
java.io.IOException
- if an error occurs.