public static enum PosixPermissions.Type extends java.lang.Enum<PosixPermissions.Type>
Enum Constant | Description |
---|---|
GroupExecutable |
Group right executable.
|
GroupReadable |
Group right readable.
|
GroupWritable |
Group right writable.
|
OtherExecutable |
Other right executable.
|
OtherReadable |
Other right readable.
|
OtherWritable |
Other right writable.
|
UserExecutable |
User right executable.
|
UserReadable |
User right readable.
|
UserWritable |
User right writable.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getMask() |
Return the mask for this permission.
|
static PosixPermissions.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PosixPermissions.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PosixPermissions.Type UserReadable
public static final PosixPermissions.Type UserWritable
public static final PosixPermissions.Type UserExecutable
public static final PosixPermissions.Type GroupReadable
public static final PosixPermissions.Type GroupWritable
public static final PosixPermissions.Type GroupExecutable
public static final PosixPermissions.Type OtherReadable
public static final PosixPermissions.Type OtherWritable
public static final PosixPermissions.Type OtherExecutable
public static PosixPermissions.Type[] values()
for (PosixPermissions.Type c : PosixPermissions.Type.values()) System.out.println(c);
public static PosixPermissions.Type 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 nullpublic int getMask()