public static enum FilePermissions.FILE_ACCESS extends java.lang.Enum<FilePermissions.FILE_ACCESS>
For details on the specific operating system file permissions that get set
for each of these levels (for example, the read-write permissions), see the
setAccessLevel() and setFilePermissionsmethod.
| Enum Constant and Description |
|---|
ALL
All users can access the file.
|
GROUP
Users in the same group as the owner can access the file.
|
OWNER
Only the owner can access the file
|
SYSTEM_DEFAULT
Use the default operating system file permissions (as set by umask or ACL)
|
| Modifier and Type | Method and Description |
|---|---|
static FilePermissions.FILE_ACCESS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FilePermissions.FILE_ACCESS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilePermissions.FILE_ACCESS OWNER
public static final FilePermissions.FILE_ACCESS GROUP
public static final FilePermissions.FILE_ACCESS ALL
public static final FilePermissions.FILE_ACCESS SYSTEM_DEFAULT
public static FilePermissions.FILE_ACCESS[] values()
for (FilePermissions.FILE_ACCESS c : FilePermissions.FILE_ACCESS.values()) System.out.println(c);
public static FilePermissions.FILE_ACCESS valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null