com.sun.dtv.media.dripfeed
Class DripFeedPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
com.sun.dtv.media.dripfeed.DripFeedPermission
- All Implemented Interfaces:
- Serializable, Guard
public class DripFeedPermission
- extends BasicPermission
This class represents a permission to access the DripFeedControl
. If this permission
is not granted the javax.media.Manager
will throw an exception during the creation of
an javax.media.Player
if the MediaLocator
was created with the "dripfeed://"
URL.
- See Also:
- Serialized Form
Method Summary |
boolean |
implies(Permission p)
Checks if the specified DripFeePermisson is "implied" by this object. |
DripFeedPermission
public DripFeedPermission(String name)
- Creates a new DripFeedPermission with a given name.
- Parameters:
name
- the name of the permission.
implies
public boolean implies(Permission p)
- Checks if the specified
DripFeePermisson
is "implied" by this object.
More specifically, this method returns true if:
- p's class is the same as this object's class, and
- p's name equals or (in the case of wildcards) is implied by this object's name.
For example, "a.b.*" implies "a.b.c".
- Overrides:
implies
in class BasicPermission
Copyright © 2008-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.
U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.
DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
Use of this document is subject to license terms.