public final class Permission
extends java.lang.Object
AccessControlList
.
Only a limited set of permissions are available, each one is available as a public static
variable in this class of the form PERMISSION_XYZ.Modifier and Type | Field and Description |
---|---|
static Permission |
PERMISSION_FULL_CONTROL |
static Permission |
PERMISSION_READ |
static Permission |
PERMISSION_READ_ACP |
static Permission |
PERMISSION_WRITE |
static Permission |
PERMISSION_WRITE_ACP |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static Permission |
parsePermission(java.lang.String str) |
java.lang.String |
toString() |
public static final Permission PERMISSION_FULL_CONTROL
public static final Permission PERMISSION_READ
public static final Permission PERMISSION_WRITE
public static final Permission PERMISSION_READ_ACP
public static final Permission PERMISSION_WRITE_ACP
public static Permission parsePermission(java.lang.String str)
str
- a string representation of a permission, eg FULL_CONTROLpublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object