private class SftpFileObject.SftpOutputStream extends MonitorOutputStream
Modifier and Type | Field and Description |
---|---|
private com.jcraft.jsch.ChannelSftp |
channel |
Constructor and Description |
---|
SftpOutputStream(com.jcraft.jsch.ChannelSftp channel,
java.io.OutputStream out) |
Modifier and Type | Method and Description |
---|---|
protected void |
onClose()
Called after this stream is closed.
|
assertOpen, close, flush, write, write, write
public SftpOutputStream(com.jcraft.jsch.ChannelSftp channel, java.io.OutputStream out)
protected void onClose() throws java.io.IOException
onClose
in class MonitorOutputStream
java.io.IOException
- if an error occurs.