|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<UnixStandardPermissions>
com.threerings.jpkg.UnixStandardPermissions
public enum UnixStandardPermissions
Contains various standard Unix permissions.
Enum Constant Summary | |
---|---|
ROOT_GROUP
The standard Unix root group information. |
|
ROOT_USER
The standard Unix root user information. |
Field Summary | |
---|---|
static int |
EXECUTABLE_FILE_MODE
The standard Unix filesystem permissions for an executable file. |
static int |
STANDARD_DIR_MODE
The standard Unix filesystem permissions for a directory. |
static int |
STANDARD_FILE_MODE
The standard Unix filesystem permissions for a normal file. |
Method Summary | |
---|---|
int |
getId()
The user or group id for this permission. |
String |
getName()
The user or group name for this permission. |
static UnixStandardPermissions |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UnixStandardPermissions[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final UnixStandardPermissions ROOT_USER
public static final UnixStandardPermissions ROOT_GROUP
Field Detail |
---|
public static final int STANDARD_FILE_MODE
public static final int EXECUTABLE_FILE_MODE
public static final int STANDARD_DIR_MODE
Method Detail |
---|
public static final UnixStandardPermissions[] values()
for(UnixStandardPermissions c : UnixStandardPermissions.values()) System.out.println(c);
public static UnixStandardPermissions valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String getName()
public int getId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |