PosixFilePermission
public
final
enum
PosixFilePermission
extends Enum<PosixFilePermission>
java.lang.Object | ||
↳ | java.lang.Enum<java.nio.file.attribute.PosixFilePermission> | |
↳ | java.nio.file.attribute.PosixFilePermission |
Defines the bits for use with the permissions
attribute.
The PosixFilePermissions
class defines methods for manipulating
set of permissions.
Summary
Enum values | |
---|---|
PosixFilePermission |
GROUP_EXECUTE
Execute/search permission, group. |
PosixFilePermission |
GROUP_READ
Read permission, group. |
PosixFilePermission |
GROUP_WRITE
Write permission, group. |
PosixFilePermission |
OTHERS_EXECUTE
Execute/search permission, others. |
PosixFilePermission |
OTHERS_READ
Read permission, others. |
PosixFilePermission |
OTHERS_WRITE
Write permission, others. |
PosixFilePermission |
OWNER_EXECUTE
Execute/search permission, owner. |
PosixFilePermission |
OWNER_READ
Read permission, owner. |
PosixFilePermission |
OWNER_WRITE
Write permission, owner. |
Public methods | |
---|---|
static
PosixFilePermission
|
valueOf(String name)
|
static
final
PosixFilePermission[]
|
values()
|
Inherited methods | |
---|---|
Enum values
GROUP_EXECUTE
public static final PosixFilePermission GROUP_EXECUTE
Execute/search permission, group.
GROUP_READ
public static final PosixFilePermission GROUP_READ
Read permission, group.
GROUP_WRITE
public static final PosixFilePermission GROUP_WRITE
Write permission, group.
OTHERS_EXECUTE
public static final PosixFilePermission OTHERS_EXECUTE
Execute/search permission, others.
OTHERS_READ
public static final PosixFilePermission OTHERS_READ
Read permission, others.
OTHERS_WRITE
public static final PosixFilePermission OTHERS_WRITE
Write permission, others.
OWNER_EXECUTE
public static final PosixFilePermission OWNER_EXECUTE
Execute/search permission, owner.
OWNER_READ
public static final PosixFilePermission OWNER_READ
Read permission, owner.
OWNER_WRITE
public static final PosixFilePermission OWNER_WRITE
Write permission, owner.
Public methods
valueOf
public static PosixFilePermission valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
PosixFilePermission |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-06-07 UTC.
pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier! Saves Data!
--- a PPN by Garber Painting Akron. With Image Size Reduction included!
Fetched URL: http://developer.android.com/reference/java/nio/file/attribute/PosixFilePermission
Alternative Proxies: