Located in compilation unit of org.
| Modifier and Type | Field and Description |
|---|---|
| private transient boolean | implyAll
|
| private transient HashMap | permissions
The permission name is used as a key, the permission is used as a value. |
| private static final ObjectStreamField[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(Permission
The permission)DevicePermission object to add.Implements abstract java. Adds a device permission to this device permission collection. |
| public synchronized Enumeration | Returns: Enumeration of allDevicePermission objects.Implements abstract java. Returns an enumeration of all |
| public boolean | Returns: true if permission is implied by an
DevicePermission in this collection, false
otherwise.The device permission object to compare with the
permission)DevicePermission objects in this collection.Implements abstract java. Determines if the specified permissions implies the permissions expressed
in |
| private synchronized void | |
| private synchronized void |
| implyAll | back to summary |
|---|---|
| private transient boolean implyAll
| |
| permissions | back to summary |
|---|---|
| private transient HashMap<String, DevicePermission> permissions The permission name is used as a key, the permission is used as a value. | |
| serialPersistentFields | back to summary |
|---|---|
| private static final ObjectStreamField[] serialPersistentFields | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| DevicePermissionCollection | back to summary |
|---|---|
| public DevicePermissionCollection() Creates an empty device permission collection. | |
| add | back to summary |
|---|---|
| public void add(Permission permission) Implements abstract java. Adds a device permission to this device permission collection. Only device permissions with filters are accepted.
| |
| elements | back to summary |
|---|---|
| public synchronized Enumeration Implements abstract java. Returns an enumeration of all
| |
| implies | back to summary |
|---|---|
| public boolean implies(Permission permission) Implements abstract java. Determines if the specified permissions implies the permissions expressed
in
| |
| readObject | back to summary |
|---|---|
| private synchronized void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| writeObject | back to summary |
|---|---|
| private synchronized void writeObject(ObjectOutputStream out) throws IOException | |