public class SftpFileOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
SftpFileOutputStream(SftpFile file)
Creates a new SftpFileOutputStream object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the file's handle
|
void |
write(byte[] buffer,
int offset,
int len) |
void |
write(int b) |
public SftpFileOutputStream(SftpFile file) throws SftpStatusException, SshException
file - SftpStatusExceptionSshExceptionpublic void write(byte[] buffer,
int offset,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionCopyright © 2022. All rights reserved.