|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.Permission
java.security.BasicPermission
org.dvb.media.DripFeedPermission
public class DripFeedPermission
This class represents a permission to access the drip feed mode.
Constructor Summary | |
---|---|
DripFeedPermission(java.lang.String name)
Create a new DripFeedPermission. |
|
DripFeedPermission(java.lang.String name,
java.lang.String actions)
Create a new DripFeedPermission. |
Method Summary | |
---|---|
boolean |
implies(java.security.Permission p)
Checks if the specified permission is "implied" by this object. |
Methods inherited from class java.security.BasicPermission |
---|
equals, getActions, hashCode, newPermissionCollection |
Methods inherited from class java.security.Permission |
---|
checkGuard, getName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DripFeedPermission(java.lang.String name)
The value of the name parameter may be ignored by implementations, and the value passed to the superclass may be a non-empty string even when this constructor is invoked with an empty string for the name parameter. Therefore, the getName method may return the same non-empty string regardless of the value passed in the constructor.
name
- the name string is currently unused and should be emptypublic DripFeedPermission(java.lang.String name, java.lang.String actions)
The value of the name parameter may be ignored by implementations, and the value passed to the superclass may be a non-empty string even when this constructor is invoked with an empty string for the name parameter. Therefore, the getName method may return the same non-empty string regardless of the value passed in the constructor.
name
- The name string is currently unused and should be emptyactions
- The actions string is currently unused
and should be null.Method Detail |
---|
public boolean implies(java.security.Permission p)
Since name and actions are not used, the only check needed is whether p is also a DripFeedPermission.
implies
in class java.security.BasicPermission
p
- the permission to check against.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |