| Modifier and Type | Field and Description |
|---|---|
| private static final DefineClassPermission | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DefineClassPermission(final String
ignored name, final String ignored actions)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the object we are testing for equality with this object. obj)Implements abstract java. Checks two |
| public String | getActions()
Implements abstract java. Returns the actions as a |
| public static DefineClassPermission | |
| public int | hashCode()
Implements abstract java. Returns the hash code value for this |
| public boolean | Returns: true if this permission implies the given permissionthe permission to check against. permission)Implements abstract java. Returns |
| INSTANCE | back to summary |
|---|---|
| private static final DefineClassPermission INSTANCE | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| DefineClassPermission | back to summary |
|---|---|
| public DefineClassPermission() Construct a new instance. | |
| DefineClassPermission | back to summary |
|---|---|
| public DefineClassPermission(final String name, final String actions) Construct a new instance. | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Implements abstract java. Doc from java. Checks two
Do not use the | |
| getActions | back to summary |
|---|---|
| public String getActions() Implements abstract java. Doc from java. Returns the actions as a perm1 = new FilePermission(p1,"read,write"); perm2 = new FilePermission(p2,"write,read");both return "read,write" when the getActions method is invoked.
| |
| getInstance | back to summary |
|---|---|
| public static DefineClassPermission getInstance() Returns the singular instance.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract java. Doc from java. Returns the hash code value for this
The required
| |
| implies | back to summary |
|---|---|
| public boolean implies(final Permission permission) Implements abstract java. Returns
| |