Modifier and Type | Class and Description |
---|---|
static class |
SftpClient.CloseableHandle |
Modifier and Type | Method and Description |
---|---|
SftpClient.Handle |
SftpDirEntryIterator.getHandle() |
SftpClient.Handle |
StfpIterableDirHandle.getHandle() |
Modifier and Type | Method and Description |
---|---|
void |
SftpClient.close(SftpClient.Handle handle)
Close the handle obtained from one of the
open methods |
default Iterable<SftpClient.DirEntry> |
SftpClient.listDir(SftpClient.Handle handle) |
protected List<SftpClient.DirEntry> |
SftpDirEntryIterator.load(SftpClient.Handle handle) |
void |
SftpClient.lock(SftpClient.Handle handle,
long offset,
long length,
int mask) |
default int |
SftpClient.read(SftpClient.Handle handle,
long fileOffset,
byte[] dst)
Reads data from the open (file) handle
|
default int |
SftpClient.read(SftpClient.Handle handle,
long fileOffset,
byte[] dst,
AtomicReference<Boolean> eofSignalled)
Reads data from the open (file) handle
|
default int |
SftpClient.read(SftpClient.Handle handle,
long fileOffset,
byte[] dst,
int dstOffset,
int len) |
int |
SftpClient.read(SftpClient.Handle handle,
long fileOffset,
byte[] dst,
int dstOffset,
int len,
AtomicReference<Boolean> eofSignalled)
Reads data from the open (file) handle
|
default List<SftpClient.DirEntry> |
SftpClient.readDir(SftpClient.Handle handle) |
List<SftpClient.DirEntry> |
SftpClient.readDir(SftpClient.Handle handle,
AtomicReference<Boolean> eolIndicator) |
void |
SftpClient.setStat(SftpClient.Handle handle,
SftpClient.Attributes attributes)
Update remote node meta-data
|
SftpClient.Attributes |
SftpClient.stat(SftpClient.Handle handle)
Retrieve file/directory handle meta-data
|
void |
SftpClient.unlock(SftpClient.Handle handle,
long offset,
long length) |
default void |
SftpClient.write(SftpClient.Handle handle,
long fileOffset,
byte[] src) |
void |
SftpClient.write(SftpClient.Handle handle,
long fileOffset,
byte[] src,
int srcOffset,
int len)
Write data to (open) file handle
|
Constructor and Description |
---|
SftpDirEntryIterator(SftpClient client,
SftpClient.Handle dirHandle) |
SftpDirEntryIterator(SftpClient client,
String path,
SftpClient.Handle dirHandle,
boolean closeOnFinished) |
StfpIterableDirHandle(SftpClient client,
SftpClient.Handle handle) |
Modifier and Type | Method and Description |
---|---|
Map.Entry<String,Collection<byte[]>> |
CheckFileHandleExtension.checkFileHandle(SftpClient.Handle handle,
Collection<String> algorithms,
long startOffset,
long length,
int blockSize) |
void |
CopyDataExtension.copyData(SftpClient.Handle readHandle,
long readOffset,
long readLength,
SftpClient.Handle writeHandle,
long writeOffset) |
byte[] |
MD5HandleExtension.getHash(SftpClient.Handle handle,
long offset,
long length,
byte[] quickHash) |
Modifier and Type | Method and Description |
---|---|
AbstractMap.SimpleImmutableEntry<String,Collection<byte[]>> |
CheckFileHandleExtensionImpl.checkFileHandle(SftpClient.Handle handle,
Collection<String> algorithms,
long startOffset,
long length,
int blockSize) |
void |
CopyDataExtensionImpl.copyData(SftpClient.Handle readHandle,
long readOffset,
long readLength,
SftpClient.Handle writeHandle,
long writeOffset) |
byte[] |
MD5HandleExtensionImpl.getHash(SftpClient.Handle handle,
long offset,
long length,
byte[] quickHash) |
Modifier and Type | Method and Description |
---|---|
void |
OpenSSHFsyncExtension.fsync(SftpClient.Handle fileHandle) |
OpenSSHStatExtensionInfo |
OpenSSHStatHandleExtension.stat(SftpClient.Handle handle) |
Modifier and Type | Method and Description |
---|---|
void |
OpenSSHFsyncExtensionImpl.fsync(SftpClient.Handle fileHandle) |
OpenSSHStatExtensionInfo |
OpenSSHStatHandleExtensionImpl.stat(SftpClient.Handle handle) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCloseableHandle |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSftpClient.close(SftpClient.Handle handle) |
void |
AbstractSftpClient.lock(SftpClient.Handle handle,
long offset,
long length,
int mask) |
int |
AbstractSftpClient.read(SftpClient.Handle handle,
long fileOffset,
byte[] dst,
int dstOffset,
int len,
AtomicReference<Boolean> eofSignalled) |
List<SftpClient.DirEntry> |
AbstractSftpClient.readDir(SftpClient.Handle handle,
AtomicReference<Boolean> eolIndicator) |
void |
AbstractSftpClient.setStat(SftpClient.Handle handle,
SftpClient.Attributes attributes) |
SftpClient.Attributes |
AbstractSftpClient.stat(SftpClient.Handle handle) |
void |
AbstractSftpClient.unlock(SftpClient.Handle handle,
long offset,
long length) |
void |
AbstractSftpClient.write(SftpClient.Handle handle,
long fileOffset,
byte[] src,
int srcOffset,
int len) |
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.