public class RawMemoryPermission extends RealtimePermission
target or
* for any.
| Action Name | Description | Risks of grant |
|---|---|---|
| define | Defines a device address range for use by raw memory. | Device Range Risk |
| map | Maps a given amount of raw memory into a raw memory object. | Device Map Risk |
RealtimePermission.| Constructor and Description |
|---|
RawMemoryPermission(java.lang.String actions)
Creates a new
RawMemoryPermission object for a given action,
i.e., the symbolic name of an action. |
RawMemoryPermission(java.lang.String target,
java.lang.String actions)
Creates a new
RawMemoryPermission object for a given action,
i.e., the symbolic name of an action. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Compare two Permission objects for equality.
|
java.lang.String |
getActions()
Obtain the actions as a String in canonical form.
|
int |
hashCode()
Obtain the hash code value for this object.
|
boolean |
implies(java.security.Permission permission)
Checks if the given permission's actions are "implied by" this
object's actions.
|
public RawMemoryPermission(java.lang.String target,
java.lang.String actions)
throws java.lang.NullPointerException,
StaticIllegalArgumentException
RawMemoryPermission object for a given action,
i.e., the symbolic name of an action. The target string
specifies additional limitations on the action.target - Specifies the domain for the action, or *
for no limit on the permission.actions - The names of the actions to allow, or *
for all actions.java.lang.NullPointerException - when action is null.StaticIllegalArgumentException - when
target or action is empty.public RawMemoryPermission(java.lang.String actions)
throws java.lang.NullPointerException,
StaticIllegalArgumentException
RawMemoryPermission object for a given action,
i.e., the symbolic name of an action.actions - The names of the actions to allow, or *
for all actions.java.lang.NullPointerException - when action is null.StaticIllegalArgumentException - when
action is empty.public boolean equals(java.lang.Object other)
RealtimePermissionequals in class RealtimePermissionother - is the object with which to compare.true when yes and false otherwise.public java.lang.String getActions()
RealtimePermissiongetActions in class RealtimePermissionpublic int hashCode()
RealtimePermissionhashCode in class RealtimePermissionpublic boolean implies(java.security.Permission permission)
RealtimePermissionimplies in class RealtimePermissionpermission - is the permission to check.true when yes and false otherwise.