public class SftpAclFileAttributeView extends AbstractSftpFileAttributeView implements java.nio.file.attribute.AclFileAttributeView
options, path, providerlog| 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, writeRemoteAttributesgetSimplifiedLoggerpublic 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.FileOwnerAttributeViewjava.io.IOExceptionpublic void setOwner(java.nio.file.attribute.UserPrincipal owner)
throws java.io.IOException
setOwner in interface java.nio.file.attribute.FileOwnerAttributeViewjava.io.IOExceptionpublic java.lang.String name()
name in interface java.nio.file.attribute.AclFileAttributeViewname in interface java.nio.file.attribute.AttributeViewname in interface java.nio.file.attribute.FileOwnerAttributeViewname in class AbstractSftpFileAttributeViewpublic java.util.List<java.nio.file.attribute.AclEntry> getAcl()
throws java.io.IOException
getAcl in interface java.nio.file.attribute.AclFileAttributeViewjava.io.IOExceptionpublic void setAcl(java.util.List<java.nio.file.attribute.AclEntry> acl)
throws java.io.IOException
setAcl in interface java.nio.file.attribute.AclFileAttributeViewjava.io.IOException