|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QUrlInfo.PermissionSpec>
com.trolltech.qt.network.QUrlInfo.PermissionSpec
public static enum QUrlInfo.PermissionSpec
This enum is used by the permissions function to report the permissions of a file.
Enum Constant Summary | |
---|---|
ExeGroup
The file is executable by the group. |
|
ExeOther
The file is executable by anyone. |
|
ExeOwner
The file is executable by the owner of the file. |
|
ReadGroup
The file is readable by the group. |
|
ReadOther
The file is readable by anyone. |
|
ReadOwner
The file is readable by the owner of the file. |
|
WriteGroup
The file is writable by the group. |
|
WriteOther
The file is writable by anyone. |
|
WriteOwner
The file is writable by the owner of the file. |
Method Summary | |
---|---|
static QUrlInfo.PermissionSpec |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QUrlInfo.PermissionSpec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QUrlInfo.PermissionSpec[] |
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 QUrlInfo.PermissionSpec ReadOwner
The file is readable by the owner of the file.
public static final QUrlInfo.PermissionSpec WriteOwner
The file is writable by the owner of the file.
public static final QUrlInfo.PermissionSpec ExeOwner
The file is executable by the owner of the file.
public static final QUrlInfo.PermissionSpec ReadGroup
The file is readable by the group.
public static final QUrlInfo.PermissionSpec WriteGroup
The file is writable by the group.
public static final QUrlInfo.PermissionSpec ExeGroup
The file is executable by the group.
public static final QUrlInfo.PermissionSpec ReadOther
The file is readable by anyone.
public static final QUrlInfo.PermissionSpec WriteOther
The file is writable by anyone.
public static final QUrlInfo.PermissionSpec ExeOther
The file is executable by anyone.
Method Detail |
---|
public static final QUrlInfo.PermissionSpec[] values()
for(QUrlInfo.PermissionSpec c : QUrlInfo.PermissionSpec.values()) System.out.println(c);
public static QUrlInfo.PermissionSpec 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 namepublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QUrlInfo.PermissionSpec resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |