Package com.sshtools.j2ssh.sftp
Class SftpFileOutputStream
java.lang.Object
java.io.OutputStream
com.sshtools.j2ssh.sftp.SftpFileOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Version:
- $Revision: 1.17 $
- Author:
- $author$
-
Constructor Summary
ConstructorsConstructorDescriptionSftpFileOutputStream
(SftpFile file) Creates a new SftpFileOutputStream object. -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
SftpFileOutputStream
Creates a new SftpFileOutputStream object.- Parameters:
file
-- Throws:
IOException
-
-
Method Details
-
write
- Overrides:
write
in classOutputStream
- Parameters:
buffer
-offset
-len
-- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Parameters:
b
-- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
finalize
- Overrides:
finalize
in classObject
- Throws:
IOException
-