java.security.acl
public interface Permission
java.security.Permission
.
Method Summary | |
---|---|
boolean | equals(Object perm)
This method tests whether or not a specified Permission
(passed as an Object ) is the same as this permission.
|
String | toString()
This method returns this Permission as a String .
|
Permission
(passed as an Object
) is the same as this permission.
Parameters: perm The permission to check for equality
Returns: true
if the specified permission is the same as this one, false
otherwise
Permission
as a String
.
Returns: A String
representing this permission.