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 com.sshtools.common.sftp.SftpStatusException, com.sshtools.common.ssh.SshException
file
- com.sshtools.common.sftp.SftpStatusException
com.sshtools.common.ssh.SshException
public void write(byte[] buffer, int offset, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
Copyright © 2022. All rights reserved.