public abstract class GCFPermission extends Permission
Constructor and Description |
---|
GCFPermission(String uri)
Constructs a
GCFPermission with the specified URI. |
Modifier and Type | Method and Description |
---|---|
String |
getProtocol()
Returns the protocol scheme of this GCFPermission.
|
String |
getURI()
Returns the URI of this GCFPermission.
|
equals, getActions, getName, hashCode, implies, newPermissionCollection, toString
public GCFPermission(String uri)
GCFPermission
with the specified URI.
The URI must begin with a string indicating the protocol
scheme, followed by a ':'.uri
- the URI string.IllegalArgumentException
- if uri
is malformed.NullPointerException
- if uri
is null
.getURI()
public String getURI()
public String getProtocol()