public class PermissionImpl
extends java.lang.Object
implements java.security.acl.Permission
| Constructor and Description |
|---|
PermissionImpl(java.lang.String permission)
Construct a permission object using a string.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object another)
This function returns true if the object passed matches the permission
represented in this interface.
|
int |
hashCode() |
java.lang.String |
toString()
Prints a stringified version of the permission.
|
public PermissionImpl(java.lang.String permission)
permission - the stringified version of the permission.public boolean equals(java.lang.Object another)
equals in interface java.security.acl.Permissionequals in class java.lang.Objectanother - The Permission object to compare with.public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in interface java.security.acl.PermissiontoString in class java.lang.Object