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:
java.nio.file.attribute.AclFileAttributeView,java.nio.file.attribute.AttributeView,java.nio.file.attribute.FileAttributeView,java.nio.file.attribute.FileOwnerAttributeView
public class SftpAclFileAttributeView extends AbstractSftpFileAttributeView implements java.nio.file.attribute.AclFileAttributeView
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.sftp.client.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, java.nio.file.Path path, java.nio.file.LinkOption... options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.nio.file.attribute.AclEntry>getAcl()java.nio.file.attribute.UserPrincipalgetOwner()java.lang.Stringname()voidsetAcl(java.util.List<java.nio.file.attribute.AclEntry> acl)voidsetOwner(java.nio.file.attribute.UserPrincipal owner)-
Methods inherited from class org.apache.sshd.sftp.client.impl.AbstractSftpFileAttributeView
getPath, provider, readRemoteAttributes, writeRemoteAttributes
-
-
-
-
Constructor Detail
-
SftpAclFileAttributeView
public SftpAclFileAttributeView(SftpFileSystemProvider provider, java.nio.file.Path path, java.nio.file.LinkOption... options)
-
-
Method Detail
-
getOwner
public java.nio.file.attribute.UserPrincipal getOwner() throws java.io.IOException- Specified by:
getOwnerin interfacejava.nio.file.attribute.FileOwnerAttributeView- Throws:
java.io.IOException
-
setOwner
public void setOwner(java.nio.file.attribute.UserPrincipal owner) throws java.io.IOException- Specified by:
setOwnerin interfacejava.nio.file.attribute.FileOwnerAttributeView- Throws:
java.io.IOException
-
name
public java.lang.String name()
- Specified by:
namein interfacejava.nio.file.attribute.AclFileAttributeView- Specified by:
namein interfacejava.nio.file.attribute.AttributeView- Specified by:
namein interfacejava.nio.file.attribute.FileOwnerAttributeView- Overrides:
namein classAbstractSftpFileAttributeView
-
getAcl
public java.util.List<java.nio.file.attribute.AclEntry> getAcl() throws java.io.IOException- Specified by:
getAclin interfacejava.nio.file.attribute.AclFileAttributeView- Throws:
java.io.IOException
-
setAcl
public void setAcl(java.util.List<java.nio.file.attribute.AclEntry> acl) throws java.io.IOException- Specified by:
setAclin interfacejava.nio.file.attribute.AclFileAttributeView- Throws:
java.io.IOException
-
-