Class 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
    • 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:
        getOwner in interface java.nio.file.attribute.FileOwnerAttributeView
        Throws:
        java.io.IOException
      • setOwner

        public void setOwner​(java.nio.file.attribute.UserPrincipal owner)
                      throws java.io.IOException
        Specified by:
        setOwner in interface java.nio.file.attribute.FileOwnerAttributeView
        Throws:
        java.io.IOException
      • name

        public java.lang.String name()
        Specified by:
        name in interface java.nio.file.attribute.AclFileAttributeView
        Specified by:
        name in interface java.nio.file.attribute.AttributeView
        Specified by:
        name in interface java.nio.file.attribute.FileOwnerAttributeView
        Overrides:
        name in class AbstractSftpFileAttributeView
      • getAcl

        public java.util.List<java.nio.file.attribute.AclEntry> getAcl()
                                                                throws java.io.IOException
        Specified by:
        getAcl in interface java.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:
        setAcl in interface java.nio.file.attribute.AclFileAttributeView
        Throws:
        java.io.IOException