Package org.apache.sshd.sftp.client.fs
Class SftpAclFileAttributeView
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.sftp.client.impl.AbstractSftpFileAttributeView
-
- org.apache.sshd.sftp.client.fs.SftpAclFileAttributeView
-
- All Implemented Interfaces:
AclFileAttributeView,AttributeView,FileAttributeView,FileOwnerAttributeView
public class SftpAclFileAttributeView extends AbstractSftpFileAttributeView implements AclFileAttributeView
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.sftp.client.impl.AbstractSftpFileAttributeView
options, path, provider
-
-
Constructor Summary
Constructors Constructor Description SftpAclFileAttributeView(SftpFileSystemProvider provider, Path path, LinkOption... options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AclEntry>getAcl()UserPrincipalgetOwner()Stringname()voidsetAcl(List<AclEntry> acl)voidsetOwner(UserPrincipal owner)-
Methods inherited from class org.apache.sshd.sftp.client.impl.AbstractSftpFileAttributeView
getPath, provider, readRemoteAttributes, writeRemoteAttributes
-
-
-
-
Constructor Detail
-
SftpAclFileAttributeView
public SftpAclFileAttributeView(SftpFileSystemProvider provider, Path path, LinkOption... options)
-
-
Method Detail
-
getOwner
public UserPrincipal getOwner() throws IOException
- Specified by:
getOwnerin interfaceFileOwnerAttributeView- Throws:
IOException
-
setOwner
public void setOwner(UserPrincipal owner) throws IOException
- Specified by:
setOwnerin interfaceFileOwnerAttributeView- Throws:
IOException
-
name
public String name()
- Specified by:
namein interfaceAclFileAttributeView- Specified by:
namein interfaceAttributeView- Specified by:
namein interfaceFileOwnerAttributeView- Overrides:
namein classAbstractSftpFileAttributeView
-
getAcl
public List<AclEntry> getAcl() throws IOException
- Specified by:
getAclin interfaceAclFileAttributeView- Throws:
IOException
-
setAcl
public void setAcl(List<AclEntry> acl) throws IOException
- Specified by:
setAclin interfaceAclFileAttributeView- Throws:
IOException
-
-