Uses of Class
java.nio.file.attribute.AclEntry.Builder
| Package | Description |
|---|---|
| java.nio.file.attribute |
Interfaces and classes providing access to file and file system attributes.
|
-
Uses of AclEntry.Builder in java.nio.file.attribute
Methods in java.nio.file.attribute that return AclEntry.Builder Modifier and Type Method Description static AclEntry.BuilderAclEntry. newBuilder()Constructs a new builder.static AclEntry.BuilderAclEntry. newBuilder(AclEntry entry)Constructs a new builder with the components of an existing ACL entry.AclEntry.BuilderAclEntry.Builder. setFlags(AclEntryFlag... flags)Sets the flags component of this builder.AclEntry.BuilderAclEntry.Builder. setFlags(Set<AclEntryFlag> flags)Sets the flags component of this builder.AclEntry.BuilderAclEntry.Builder. setPermissions(AclEntryPermission... perms)Sets the permissions component of this builder.AclEntry.BuilderAclEntry.Builder. setPermissions(Set<AclEntryPermission> perms)Sets the permissions component of this builder.AclEntry.BuilderAclEntry.Builder. setPrincipal(UserPrincipal who)Sets the principal component of this builder.AclEntry.BuilderAclEntry.Builder. setType(AclEntryType type)Sets the type component of this builder.