Package | Description |
---|---|
java.nio.file.attribute |
Interfaces and classes providing access to file and file system attributes.
|
Modifier and Type | Field and Description |
---|---|
static AclEntryPermission |
AclEntryPermission.ADD_FILE
Permission to add a new file to a directory (equal to
WRITE_DATA ) |
static AclEntryPermission |
AclEntryPermission.ADD_SUBDIRECTORY
Permission to create a subdirectory to a directory (equal to
APPEND_DATA ) |
static AclEntryPermission |
AclEntryPermission.LIST_DIRECTORY
Permission to list the entries of a directory (equal to
READ_DATA ) |
Modifier and Type | Method and Description |
---|---|
static AclEntryPermission |
AclEntryPermission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AclEntryPermission[] |
AclEntryPermission.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<AclEntryPermission> |
AclEntry.permissions()
Returns a copy of the permissions component.
|
Modifier and Type | Method and Description |
---|---|
AclEntry.Builder |
AclEntry.Builder.setPermissions(AclEntryPermission... perms)
Sets the permissions component of this builder.
|
Modifier and Type | Method and Description |
---|---|
AclEntry.Builder |
AclEntry.Builder.setPermissions(Set<AclEntryPermission> perms)
Sets the permissions component of this builder.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.