public class TunerPermission extends BasicPermission
SecurityException
from those methods in that API defined to throw one. Without such a
permission, it shall receive such an exception.| Constructor and Description |
|---|
TunerPermission(String name)
Creates a new TunerPermission.
|
TunerPermission(String name,
String actions)
Creates a new TunerPermission.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
implies(Permission p)
Checks if the specified permission is "implied" by this object.
|
equals, getActions, hashCode, newPermissionCollectioncheckGuard, getName, toStringpublic TunerPermission(String name)
name - the name of the TunerPermission.public TunerPermission(String name, String actions)
name - the name of the TunerPermission.actions - the actions listpublic boolean implies(Permission p)
Since name and actions are not used, the only check needed is whether p is also a TunerPermission.
implies in class BasicPermissionp - the permission to check against.Copyright © 2012 code4tv.com. All Rights Reserved.