|
CLDC 1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.Permission
javax.microedition.io.GCFPermission
An abstract class that is the superclass of all permissions used
with the Generic Connection Framework. A GCFPermission
consists of a URI string representing access rights to a connection
based on the specified protocol scheme. The URI must conform to the
syntax requirements of
RFC 3986
with extensions
to permit wildcard matching.
A specification that extends the Generic Connection Framework with a new
protocol scheme should define a subclass of GCFPermission
to guard access to the protocol.
Connector.open(java.lang.String)| Constructor Summary | |
GCFPermission(String uri)
Constructs a GCFPermission with the specified URI. |
|
| Method Summary | |
String |
getProtocol()
Returns the protocol scheme of this GCFPermission. |
String |
getURI()
Returns the URI of this GCFPermission. |
| Methods inherited from class java.security.Permission |
equals, getActions, getName, hashCode, implies, newPermissionCollection, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GCFPermission(String uri)
GCFPermission with the specified URI.
The URI must conform to the syntax requirements of
RFC 3986
with extensions
to permit wildcard matching.
This constructor performs protocol-independent
normalization
of the specified URI string;
subsequent queries for the URI or portions of the URI
will reflect the normalized form.
uri - the URI string.
IllegalArgumentException - if uri is malformed.
NullPointerException - if uri is null.getURI()| Method Detail |
public String getURI()
GCFPermission.
Permission.getName().Permission.getName()public String getProtocol()
GCFPermission.
The protocol scheme is the string preceding the first ':' in the
URI.
getURI()
|
CLDC 1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||