java.security
public
final
class
java.security.Permissions
A heterogeneous collection of permissions.
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
Public Methods
public
void
add(Permission permission)
Adds the argument to the collection.
Parameters
permission
| java.security.Permission the permission to add to the
collection
|
Returns an enumeration of the permissions in the receiver.
Returns
- Enumeration the permissions in the receiver.
public
boolean
implies(Permission permission)
Indicates whether the argument permission is implied by the permissions
contained in the receiver.
Parameters
permission
| 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.