Class JCshFileOutputStreamSftp
java.lang.Object
java.io.OutputStream
net.thevpc.nuts.ext.ssh.jcsh.JCshFileOutputStreamSftp
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionJCshFileOutputStreamSftp(SshConnection connection, String remotePath, boolean mkdirs, boolean closeConnection) JCshFileOutputStreamSftp(NConnectionString path, boolean mkdirs, boolean closeConnection) -
Method Summary
Methods inherited from class OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
JCshFileOutputStreamSftp
-
JCshFileOutputStreamSftp
public JCshFileOutputStreamSftp(SshConnection connection, String remotePath, boolean mkdirs, boolean closeConnection)
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-