| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | getAcl()
Implements java. Reads the access control list. |
| public UserPrincipal | |
| public String | name()
Overrides org. Implements java. Returns the name of the attribute view. |
| public void | setAcl(List<AclEntry>
the new access control list acl)Implements java. Updates (replace) the access control list. |
| public void | setOwner(UserPrincipal
the new file owner owner)Implements java. Updates the file owner. |
| SftpAclFileAttributeView | back to summary |
|---|---|
| public SftpAclFileAttributeView(SftpFileSystemProvider provider, Path path, LinkOption... options) | |
| getAcl | back to summary |
|---|---|
| public List Implements java. Doc from java. Reads the access control list. When the file system uses an ACL model that differs from the NFSv4 defined ACL model, then this method returns an ACL that is the translation of the ACL to the NFSv4 ACL model. The returned list is modifiable so as to facilitate changes to the
existing ACL. The
| |
| getOwner | back to summary |
|---|---|
| public UserPrincipal getOwner() throws IOException Implements java. Doc from java. Read the file owner. It is implementation specific if the file owner can be a
| |
| name | back to summary |
|---|---|
| public String name() Overrides org. Implements java. Doc from java. Returns the name of the attribute view. Attribute views of this type
have the name
| |
| setAcl | back to summary |
|---|---|
| public void setAcl(List<AclEntry> acl) throws IOException Implements java. Doc from java. Updates (replace) the access control list. Where the file system supports Access Control Lists, and it uses an
ACL model that differs from the NFSv4 defined ACL model, then this method
must translate the ACL to the model supported by the file system. This
method should reject (by throwing If an ACL entry contains a If the file system supports other security related file attributes
(such as a file
| |
| setOwner | back to summary |
|---|---|
| public void setOwner(UserPrincipal owner) throws IOException Implements java. Doc from java. Updates the file owner. It is implementation specific if the file owner can be a
| |