|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.Permission
java.security.BasicPermission
java.util.PropertyPermission
public final class PropertyPermission
PropertyPermission objects represent permission to access system properties.
| Constructor Summary | |
|---|---|
PropertyPermission(String name,
String actions)
Constructs a new instance of this class. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. |
String |
getActions()
Returns the actions associated with the receiver. |
int |
hashCode()
Returns an integer hash code for the receiver. |
boolean |
implies(Permission permission)
Indicates whether the argument permission is implied by the receiver. |
PermissionCollection |
newPermissionCollection()
Returns a new PermissionCollection for holding permissions of this class. |
| Methods inherited from class java.security.Permission |
|---|
checkGuard, getName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyPermission(String name,
String actions)
name - java.lang.String the (possibly wildcarded) name of the
property.actions - java.lang.String the actions which are applicable to it.| Method Detail |
|---|
public boolean equals(Object o)
equals in class BasicPermissiono - the object to compare with this object
true if the object is the same as this object
false if it is different from this objecthashCode()public String getActions()
getActions in class BasicPermissionpublic int hashCode()
true when passed to equals must
answer the same value for this method.
hashCode in class BasicPermissionequals(java.lang.Object)public boolean implies(Permission permission)
implies in class BasicPermissionpermission - java.security.Permission the permission to check
true if the argument permission is implied
by the receiver, and false if it is not.public PermissionCollection newPermissionCollection()
newPermissionCollection in class BasicPermissionBasicPermissionCollection
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||