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 | Field and Description |
---|---|
private SftpClient.Attributes |
SftpClient.DirEntry.attributes |
Modifier and Type | Method and Description |
---|---|
SftpClient.Attributes |
SftpClient.Attributes.accessTime(java.nio.file.attribute.FileTime atime) |
SftpClient.Attributes |
SftpClient.Attributes.accessTime(long atime) |
SftpClient.Attributes |
SftpClient.Attributes.accessTime(long atime,
java.util.concurrent.TimeUnit unit) |
SftpClient.Attributes |
SftpClient.Attributes.acl(java.util.List<java.nio.file.attribute.AclEntry> acl) |
SftpClient.Attributes |
SftpClient.Attributes.addFlag(SftpClient.Attribute flag) |
SftpClient.Attributes |
SftpClient.Attributes.createTime(java.nio.file.attribute.FileTime ctime) |
SftpClient.Attributes |
SftpClient.Attributes.createTime(long ctime) |
SftpClient.Attributes |
SftpClient.Attributes.createTime(long ctime,
java.util.concurrent.TimeUnit unit) |
SftpClient.Attributes |
SftpClient.Attributes.extensions(java.util.Map<java.lang.String,byte[]> extensions) |
SftpClient.Attributes |
SftpClient.DirEntry.getAttributes() |
SftpClient.Attributes |
SftpClient.Attributes.group(java.lang.String group) |
SftpClient.Attributes |
SftpClient.lstat(java.lang.String path)
Retrieve remote path meta-data - do not follow symbolic links
|
SftpClient.Attributes |
SftpClient.Attributes.modifyTime(java.nio.file.attribute.FileTime mtime) |
SftpClient.Attributes |
SftpClient.Attributes.modifyTime(long mtime) |
SftpClient.Attributes |
SftpClient.Attributes.modifyTime(long mtime,
java.util.concurrent.TimeUnit unit) |
SftpClient.Attributes |
SftpClient.Attributes.owner(int uid,
int gid) |
SftpClient.Attributes |
SftpClient.Attributes.owner(java.lang.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(java.lang.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(java.lang.String path,
SftpClient.Attributes attributes)
Update remote node meta-data
|
Constructor and Description |
---|
DirEntry(java.lang.String filename,
java.lang.String longFilename,
SftpClient.Attributes attributes) |
Modifier and Type | Field and Description |
---|---|
private SftpClient.Attributes |
SftpPosixFileAttributes.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 |
SftpFileSystem.Wrapper.lstat(java.lang.String path) |
SftpClient.Attributes |
SftpFileSystemProvider.readRemoteAttributes(SftpPath path,
java.nio.file.LinkOption... options) |
protected SftpClient.Attributes |
SftpFileSystemProvider.resolveRemoteFileAttributes(SftpPath path,
java.nio.file.LinkOption... options) |
SftpClient.Attributes |
SftpFileSystem.Wrapper.stat(SftpClient.Handle handle) |
SftpClient.Attributes |
SftpFileSystem.Wrapper.stat(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
void |
SftpFileSystem.Wrapper.setStat(SftpClient.Handle handle,
SftpClient.Attributes attributes) |
void |
SftpFileSystem.Wrapper.setStat(java.lang.String path,
SftpClient.Attributes attributes) |
Constructor and Description |
---|
SftpPosixFileAttributes(java.nio.file.Path path,
SftpClient.Attributes attributes) |
Modifier and Type | Field and Description |
---|---|
private SftpClient.Attributes |
SftpPathImpl.attributes |
private SftpClient.Attributes |
AbstractSftpClient.fileOpenAttributes |
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(java.lang.String path) |
protected SftpClient.Attributes |
AbstractSftpClient.readAttributes(int cmd,
Buffer buffer,
java.util.concurrent.atomic.AtomicInteger nameIndex) |
protected SftpClient.Attributes |
AbstractSftpFileAttributeView.readRemoteAttributes() |
SftpClient.Attributes |
AbstractSftpClient.stat(SftpClient.Handle handle) |
SftpClient.Attributes |
AbstractSftpClient.stat(java.lang.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(java.lang.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 java.lang.String |
AbstractSftpSubsystemHelper.getLongName(java.nio.file.Path f,
java.lang.String shortName,
SftpClient.Attributes attributes) |
protected void |
AbstractSftpSubsystemHelper.writeDirEntry(ServerSession session,
int id,
Buffer buffer,
int index,
java.nio.file.Path f,
java.lang.String shortName,
SftpClient.Attributes attributes) |