Package org.jets3t.service.acl
Class Permission
java.lang.Object
org.jets3t.service.acl.Permission
Represents an access permission, as granted to grantees in an
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.- Author:
- James Murty
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Permission
static final Permission
static final Permission
static final Permission
static final Permission
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static Permission
parsePermission
(String str) toString()
-
Field Details
-
PERMISSION_FULL_CONTROL
-
PERMISSION_READ
-
PERMISSION_WRITE
-
PERMISSION_READ_ACP
-
PERMISSION_WRITE_ACP
-
-
Method Details
-
parsePermission
- Parameters:
str
- a string representation of a permission, eg FULL_CONTROL- Returns:
- the Permission object represented by the given permission string
-
toString
-
hashCode
public int hashCode() -
equals
-