Interface java.security.acl.Permission
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.security.acl.Permission

public interface Permission
extends Object
This interface represents a permission.

Method Index

 o equals(Object)
This function returns true if the Object passed matches the permission represented in this interface.
 o toString()
Prints a stringified version of the permission.

Methods

 o equals
  public abstract boolean equals(Object another)
This function returns true if the Object passed matches the permission represented in this interface.
Parameters:
another - The Permission object to compare with.
Returns:
true if the Permission objects are equal, false otherwise
Overrides:
equals in class Object
 o toString
  public abstract String toString()
Prints a stringified version of the permission.
Returns:
the string representation of the Permission.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index