Class RemoteFile.RemoteFileOutputStream
java.lang.Object
java.io.OutputStream
net.schmizz.sshj.sftp.RemoteFile.RemoteFileOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
- Enclosing class:
RemoteFile
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteFileOutputStream(long startingOffset) RemoteFileOutputStream(long startingOffset, int maxUnconfirmedWrites) -
Method Summary
Methods inherited from class OutputStream
nullOutputStream, write
-
Constructor Details
-
RemoteFileOutputStream
public RemoteFileOutputStream() -
RemoteFileOutputStream
public RemoteFileOutputStream(long startingOffset) -
RemoteFileOutputStream
public RemoteFileOutputStream(long startingOffset, int maxUnconfirmedWrites)
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-