Serializable
, Comparable<ChmodBit>
public enum ChmodBit extends Enum<ChmodBit>
Enum Constant | Description |
---|---|
GROUP_EXEC |
|
GROUP_READ |
|
GROUP_WRITE |
|
OTHER_EXEC |
|
OTHER_READ |
|
OTHER_WRITE |
|
OWNER_EXEC |
|
OWNER_READ |
|
OWNER_WRITE |
Modifier and Type | Method | Description |
---|---|---|
static EnumSet<ChmodBit> |
set(ChmodBit... bits) |
|
static String |
toString(boolean add,
Set<ChmodBit> bits) |
|
static String |
toString(Set<ChmodBit> set,
Set<ChmodBit> clear) |
|
static ChmodBit |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ChmodBit[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChmodBit OWNER_READ
public static final ChmodBit OWNER_WRITE
public static final ChmodBit OWNER_EXEC
public static final ChmodBit GROUP_READ
public static final ChmodBit GROUP_WRITE
public static final ChmodBit GROUP_EXEC
public static final ChmodBit OTHER_READ
public static final ChmodBit OTHER_WRITE
public static final ChmodBit OTHER_EXEC
public static ChmodBit[] values()
for (ChmodBit c : ChmodBit.values()) System.out.println(c);
public static ChmodBit 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 © 2018. All rights reserved.