public static enum LinuxFile.MMAPProt extends Enum<LinuxFile.MMAPProt>
Enum Constant and Description |
---|
EXEC |
NONE |
READ |
RW |
RWX |
RX |
WRITE |
WX |
Modifier and Type | Field and Description |
---|---|
int |
flag |
Modifier and Type | Method and Description |
---|---|
static LinuxFile.MMAPProt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinuxFile.MMAPProt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinuxFile.MMAPProt NONE
public static final LinuxFile.MMAPProt READ
public static final LinuxFile.MMAPProt WRITE
public static final LinuxFile.MMAPProt EXEC
public static final LinuxFile.MMAPProt RW
public static final LinuxFile.MMAPProt RX
public static final LinuxFile.MMAPProt RWX
public static final LinuxFile.MMAPProt WX
public final int flag
public static LinuxFile.MMAPProt[] values()
for (LinuxFile.MMAPProt c : LinuxFile.MMAPProt.values()) System.out.println(c);
public static LinuxFile.MMAPProt 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 © 2012–2021 Pi4J. All rights reserved.