Class SFTPOutputStream
java.lang.Object
java.io.OutputStream
java.io.PipedOutputStream
com.kingsrook.qqq.backend.module.filesystem.sftp.utils.SFTPOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionSFTPOutputStream
(org.apache.sshd.sftp.client.SftpClient sftpClient, String path) -
Method Summary
Methods inherited from class java.io.PipedOutputStream
connect, flush, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
SFTPOutputStream
public SFTPOutputStream(org.apache.sshd.sftp.client.SftpClient sftpClient, String path) throws IOException - Throws:
IOException
-
-
Method Details
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classPipedOutputStream
- Throws:
IOException
-