public enum FilePermission extends Enum<FilePermission>
permissions
that can be set on a file.Modifier and Type | Method and Description |
---|---|
static FilePermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilePermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilePermission EXECUTE
public static final FilePermission READ
public static final FilePermission WRITE
public static FilePermission[] values()
for (FilePermission c : FilePermission.values()) System.out.println(c);
public static FilePermission valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Atlassian. All rights reserved.