Package com.google.common.jimfs
Class AclAttributeProvider.View
- java.lang.Object
-
- com.google.common.jimfs.AbstractAttributeView
-
- com.google.common.jimfs.AclAttributeProvider.View
-
- All Implemented Interfaces:
java.nio.file.attribute.AclFileAttributeView,java.nio.file.attribute.AttributeView,java.nio.file.attribute.FileAttributeView,java.nio.file.attribute.FileOwnerAttributeView
- Enclosing class:
- AclAttributeProvider
private static final class AclAttributeProvider.View extends AbstractAttributeView implements java.nio.file.attribute.AclFileAttributeView
Implementation ofAclFileAttributeView.
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.file.attribute.FileOwnerAttributeViewownerView
-
Constructor Summary
Constructors Constructor Description View(FileLookup lookup, java.nio.file.attribute.FileOwnerAttributeView ownerView)
-
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 com.google.common.jimfs.AbstractAttributeView
lookupFile
-
-
-
-
Constructor Detail
-
View
public View(FileLookup lookup, java.nio.file.attribute.FileOwnerAttributeView ownerView)
-
-
Method Detail
-
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
-
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
-
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
-
-