java.security.acl
Interface Permission
java.lang.Object
|
+--java.security.acl.Permission
public interface Permission
This interface provides information about a permission that can be
granted. Note that this is not the same as the class
java.security.Permission
.
Author:- Aaron M. Renn (arenn@urbanophile.com)
equals
public boolean equals(java.lang.Object perm)
This method tests whether or not a specified Permission
(passed as an Object
) is the same as this permission.
Parameters:
Returns:
true
if the specified permission is the same as this one, false
otherwise
toString
public String toString()
This method returns this Permission
as a String
.
Returns:
- A
String
representing this permission.
java.security.Permission
.