Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
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:

Method Summary

booleanequals(java.lang.Object perm)

This method tests whether or not a specified Permission (passed as an Object) is the same as this permission.
java.lang.StringtoString()

This method returns this Permission as a String.

Method Details

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:


toString

public String toString()

This method returns this Permission as a String.

Returns: