Package | Description |
---|---|
org.apache.sshd.sftp.client | |
org.apache.sshd.sftp.client.fs | |
org.apache.sshd.sftp.client.impl | |
org.apache.sshd.sftp.common | |
org.apache.sshd.sftp.server |
Modifier and Type | Method and Description |
---|---|
SftpClient.Attributes |
SftpClient.Attributes.accessTime(FileTime atime) |
SftpClient.Attributes |
SftpClient.Attributes.accessTime(long atime) |
SftpClient.Attributes |
SftpClient.Attributes.accessTime(long atime,
TimeUnit unit) |
SftpClient.Attributes |
SftpClient.Attributes.acl(List<AclEntry> acl) |
SftpClient.Attributes |
SftpClient.Attributes.addFlag(SftpClient.Attribute flag) |
SftpClient.Attributes |
SftpClient.Attributes.createTime(FileTime ctime) |
SftpClient.Attributes |
SftpClient.Attributes.createTime(long ctime) |
SftpClient.Attributes |
SftpClient.Attributes.createTime(long ctime,
TimeUnit unit) |
SftpClient.Attributes |
SftpClient.Attributes.extensions(Map<String,byte[]> extensions) |
SftpClient.Attributes |
SftpClient.DirEntry.getAttributes() |
SftpClient.Attributes |
SftpClient.Attributes.group(String group) |
SftpClient.Attributes |
SftpClient.lstat(String path)
Retrieve remote path meta-data - do not follow symbolic links
|
SftpClient.Attributes |
SftpClient.Attributes.modifyTime(FileTime mtime) |
SftpClient.Attributes |
SftpClient.Attributes.modifyTime(long mtime) |
SftpClient.Attributes |
SftpClient.Attributes.modifyTime(long mtime,
TimeUnit unit) |
SftpClient.Attributes |
SftpClient.Attributes.owner(int uid,
int gid) |
SftpClient.Attributes |
SftpClient.Attributes.owner(String owner) |
SftpClient.Attributes |
SftpClient.Attributes.perms(int perms) |
SftpClient.Attributes |
SftpClient.Attributes.removeFlag(SftpClient.Attribute flag) |
SftpClient.Attributes |
SftpClient.Attributes.size(long size) |
SftpClient.Attributes |
SftpClient.stat(SftpClient.Handle handle)
Retrieve file/directory handle meta-data
|
SftpClient.Attributes |
SftpClient.stat(String path)
Retrieve remote path meta-data - follow symbolic links if encountered
|
Modifier and Type | Method and Description |
---|---|
void |
SftpClient.setStat(SftpClient.Handle handle,
SftpClient.Attributes attributes)
Update remote node meta-data
|
void |
SftpClient.setStat(String path,
SftpClient.Attributes attributes)
Update remote node meta-data
|
Constructor and Description |
---|
DirEntry(String filename,
String longFilename,
SftpClient.Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
SftpClient.Attributes |
SftpPath.getAttributes()
Retrieves the cached
SftpClient.Attributes of this SftpPath , if it has any. |
SftpClient.Attributes |
SftpFileSystemProvider.readRemoteAttributes(SftpPath path,
LinkOption... options) |
protected SftpClient.Attributes |
SftpFileSystemProvider.resolveRemoteFileAttributes(SftpPath path,
LinkOption... options) |
Constructor and Description |
---|
SftpPosixFileAttributes(Path path,
SftpClient.Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
protected SftpClient.Attributes |
AbstractSftpClient.checkAttributes(int cmd,
Buffer request) |
protected SftpClient.Attributes |
AbstractSftpClient.checkAttributesResponse(int cmd,
Buffer buffer) |
SftpClient.Attributes |
SftpPathImpl.getAttributes() |
protected SftpClient.Attributes |
AbstractSftpClient.handleUnexpectedAttributesPacket(int cmd,
int id,
int type,
int length,
Buffer buffer) |
SftpClient.Attributes |
AbstractSftpClient.lstat(String path) |
protected SftpClient.Attributes |
AbstractSftpClient.readAttributes(int cmd,
Buffer buffer,
AtomicInteger nameIndex) |
protected SftpClient.Attributes |
AbstractSftpFileAttributeView.readRemoteAttributes() |
SftpClient.Attributes |
AbstractSftpClient.stat(SftpClient.Handle handle) |
SftpClient.Attributes |
AbstractSftpClient.stat(String path) |
Modifier and Type | Method and Description |
---|---|
void |
SftpPathImpl.cacheAttributes(SftpClient.Attributes attributes)
Sets the cached attributes to the argument if this
SftpPath instance is currently caching attributes. |
void |
SftpPathImpl.setAttributes(SftpClient.Attributes attributes)
Unconditionally set the cached attributes, whether or not this instance's attribute cache is enabled.
|
void |
AbstractSftpClient.setStat(SftpClient.Handle handle,
SftpClient.Attributes attributes) |
void |
AbstractSftpClient.setStat(String path,
SftpClient.Attributes attributes) |
protected <B extends Buffer> |
AbstractSftpClient.writeAttributes(int cmd,
B buffer,
SftpClient.Attributes attributes) |
protected void |
AbstractSftpFileAttributeView.writeRemoteAttributes(SftpClient.Attributes attrs) |
Modifier and Type | Method and Description |
---|---|
static <B extends Buffer> |
SftpHelper.writeAttributes(B buffer,
SftpClient.Attributes attributes,
int sftpVersion) |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractSftpSubsystemHelper.getLongName(Path f,
String shortName,
SftpClient.Attributes attributes) |
protected void |
AbstractSftpSubsystemHelper.writeDirEntry(ServerSession session,
int id,
Buffer buffer,
int index,
Path f,
String shortName,
SftpClient.Attributes attributes) |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.