public class SftpAclFileAttributeView extends AbstractSftpFileAttributeView implements AclFileAttributeView
options, path, providerlog| Constructor and Description |
|---|
SftpAclFileAttributeView(SftpFileSystemProvider provider,
Path path,
LinkOption... options) |
| Modifier and Type | Method and Description |
|---|---|
List<AclEntry> |
getAcl() |
UserPrincipal |
getOwner() |
String |
name() |
void |
setAcl(List<AclEntry> acl) |
void |
setOwner(UserPrincipal owner) |
getPath, provider, readRemoteAttributes, writeRemoteAttributesgetSimplifiedLoggerpublic SftpAclFileAttributeView(SftpFileSystemProvider provider, Path path, LinkOption... options)
public UserPrincipal getOwner() throws IOException
getOwner in interface FileOwnerAttributeViewIOExceptionpublic void setOwner(UserPrincipal owner) throws IOException
setOwner in interface FileOwnerAttributeViewIOExceptionpublic String name()
name in interface AclFileAttributeViewname in interface AttributeViewname in interface FileOwnerAttributeViewname in class AbstractSftpFileAttributeViewpublic List<AclEntry> getAcl() throws IOException
getAcl in interface AclFileAttributeViewIOExceptionpublic void setAcl(List<AclEntry> acl) throws IOException
setAcl in interface AclFileAttributeViewIOExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.