aicas logo Jamaica 3.4 release 8

java.security.acl
Interface 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.


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.
 

Method Detail

equals

boolean equals(Object perm)
This method tests whether or not a specified Permission (passed as an Object) is the same as this permission.

Overrides:
equals in class Object
Parameters:
perm - The permission to check for equality
Returns:
true if the specified permission is the same as this one, false otherwise

toString

String toString()
This method returns this Permission as a String.

Overrides:
toString in class Object
Returns:
A String representing this permission.

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.