Class SftpAclFileAttributeView
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.client.subsystem.sftp.impl.AbstractSftpFileAttributeView
-
- org.apache.sshd.client.subsystem.sftp.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.client.subsystem.sftp.impl.AbstractSftpFileAttributeView
options, path, provider
-
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
-
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()
UserPrincipal
getOwner()
String
name()
void
setAcl(List<AclEntry> acl)
void
setOwner(UserPrincipal owner)
-
Methods inherited from class org.apache.sshd.client.subsystem.sftp.impl.AbstractSftpFileAttributeView
getPath, provider, readRemoteAttributes, writeRemoteAttributes
-
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
getSimplifiedLogger
-
-
-
-
Constructor Detail
-
SftpAclFileAttributeView
public SftpAclFileAttributeView(SftpFileSystemProvider provider, Path path, LinkOption... options)
-
-
Method Detail
-
getOwner
public UserPrincipal getOwner() throws IOException
- Specified by:
getOwner
in interfaceFileOwnerAttributeView
- Throws:
IOException
-
setOwner
public void setOwner(UserPrincipal owner) throws IOException
- Specified by:
setOwner
in interfaceFileOwnerAttributeView
- Throws:
IOException
-
name
public String name()
- Specified by:
name
in interfaceAclFileAttributeView
- Specified by:
name
in interfaceAttributeView
- Specified by:
name
in interfaceFileOwnerAttributeView
- Overrides:
name
in classAbstractSftpFileAttributeView
-
getAcl
public List<AclEntry> getAcl() throws IOException
- Specified by:
getAcl
in interfaceAclFileAttributeView
- Throws:
IOException
-
setAcl
public void setAcl(List<AclEntry> acl) throws IOException
- Specified by:
setAcl
in interfaceAclFileAttributeView
- Throws:
IOException
-
-