public class SftpAclFileAttributeView extends AbstractSftpFileAttributeView implements AclFileAttributeView
options, path, provider
log
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, writeRemoteAttributes
public SftpAclFileAttributeView(SftpFileSystemProvider provider, Path path, LinkOption... options)
public UserPrincipal getOwner() throws IOException
getOwner
in interface FileOwnerAttributeView
IOException
public void setOwner(UserPrincipal owner) throws IOException
setOwner
in interface FileOwnerAttributeView
IOException
public String name()
name
in interface AclFileAttributeView
name
in interface AttributeView
name
in interface FileOwnerAttributeView
name
in class AbstractSftpFileAttributeView
public List<AclEntry> getAcl() throws IOException
getAcl
in interface AclFileAttributeView
IOException
public void setAcl(List<AclEntry> acl) throws IOException
setAcl
in interface AclFileAttributeView
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.