public class SFTPOutputStream extends OutputStream
| Constructor and Description |
|---|
SFTPOutputStream(SFTPv3FileHandle handle) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
skip(long n) |
void |
write(byte[] buffer,
int offset,
int len)
Writes
len bytes from the specified byte array
starting at offset off to this output stream. |
void |
write(int b) |
flush, writepublic SFTPOutputStream(SFTPv3FileHandle handle)
public void write(byte[] buffer,
int offset,
int len)
throws IOException
len bytes from the specified byte array
starting at offset off to this output stream.
The general contract for write(b, off, len) is that
some of the bytes in the array b are written to the
output stream in order; element b[off] is the first
byte written and b[off+len-1] is the last byte written
by this operation.write in class OutputStreamIOExceptionSFTPv3Client.write(SFTPv3FileHandle,long,byte[],int,int)public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic long skip(long n)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2014. All Rights Reserved.