public class SftpAclFileAttributeView extends AbstractSftpFileAttributeView implements java.nio.file.attribute.AclFileAttributeView
options, path, provider
log
Constructor and Description |
---|
SftpAclFileAttributeView(SftpFileSystemProvider provider,
java.nio.file.Path path,
java.nio.file.LinkOption... options) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.nio.file.attribute.AclEntry> |
getAcl() |
java.nio.file.attribute.UserPrincipal |
getOwner() |
java.lang.String |
name() |
void |
setAcl(java.util.List<java.nio.file.attribute.AclEntry> acl) |
void |
setOwner(java.nio.file.attribute.UserPrincipal owner) |
getPath, provider, readRemoteAttributes, writeRemoteAttributes
public SftpAclFileAttributeView(SftpFileSystemProvider provider, java.nio.file.Path path, java.nio.file.LinkOption... options)
public java.nio.file.attribute.UserPrincipal getOwner() throws java.io.IOException
getOwner
in interface java.nio.file.attribute.FileOwnerAttributeView
java.io.IOException
public void setOwner(java.nio.file.attribute.UserPrincipal owner) throws java.io.IOException
setOwner
in interface java.nio.file.attribute.FileOwnerAttributeView
java.io.IOException
public java.lang.String name()
name
in interface java.nio.file.attribute.AclFileAttributeView
name
in interface java.nio.file.attribute.AttributeView
name
in interface java.nio.file.attribute.FileOwnerAttributeView
name
in class AbstractSftpFileAttributeView
public java.util.List<java.nio.file.attribute.AclEntry> getAcl() throws java.io.IOException
getAcl
in interface java.nio.file.attribute.AclFileAttributeView
java.io.IOException
public void setAcl(java.util.List<java.nio.file.attribute.AclEntry> acl) throws java.io.IOException
setAcl
in interface java.nio.file.attribute.AclFileAttributeView
java.io.IOException