java.util
Class PropertyPermissionCollection
java.lang.Object
java.security.PermissionCollection
java.util.PropertyPermissionCollection
- All Implemented Interfaces:
- Serializable
class PropertyPermissionCollection
- extends PermissionCollection
A PermissionCollection for holding PropertyPermissions.
|
Method Summary |
void |
add(Permission perm)
Adds the argument to the collection. |
Enumeration<Permission> |
elements()
Returns an enumeration of the permissions in the receiver. |
boolean |
implies(Permission perm)
Indicates whether the argument permission is implied by the permissions
contained in the receiver. |
permissions
Hashtable<String,Permission> permissions
PropertyPermissionCollection
PropertyPermissionCollection()
add
public void add(Permission perm)
- Description copied from class:
PermissionCollection
- Adds the argument to the collection.
- Specified by:
add in class PermissionCollection
- Parameters:
perm - java.security.Permission the permission to add to the
collection.
elements
public Enumeration<Permission> elements()
- Description copied from class:
PermissionCollection
- Returns an enumeration of the permissions in the receiver.
- Specified by:
elements in class PermissionCollection
- Returns:
- Enumeration the permissions in the receiver.
implies
public boolean implies(Permission perm)
- Description copied from class:
PermissionCollection
- Indicates whether the argument permission is implied by the permissions
contained in the receiver.
- Specified by:
implies in class PermissionCollection
- Parameters:
perm - java.security.Permission the permission to check
- Returns:
- boolean
true if the argument permission is implied
by the permissions in the receiver, and false if
it is not.
Please submit a feedback, bug or feature