|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.wst.common.environment.uri.SimpleURIFactory
public class SimpleURIFactory
This class provides a default implementation of the IURIFactory interface.
| Constructor Summary | |
|---|---|
SimpleURIFactory()
|
|
| Method Summary | |
|---|---|
IURI |
newURI(java.lang.String uri)
Creates and returns a new IURI for the given string. |
IURI |
newURI(java.net.URL url)
Creates and returns a new IURI for the given URL. |
IURIScheme |
newURIScheme(java.lang.String schemeOrURI)
Creates and returns a new IURIScheme for the given scheme string. |
void |
registerScheme(java.lang.String protocol,
IURIScheme scheme)
This method registers a scheme for a particular protocol. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleURIFactory()
| Method Detail |
|---|
public IURI newURI(java.lang.String uri)
throws URIException
IURIFactory
newURI in interface IURIFactoryuri - the uri to be created.
URIException - if an error occurs creating this URI.
public IURI newURI(java.net.URL url)
throws URIException
IURIFactory
newURI in interface IURIFactoryurl - the url to use to create this uri.
URIException - if an error occurs creating this URI.
public IURIScheme newURIScheme(java.lang.String schemeOrURI)
throws URIException
IURIFactory
newURIScheme in interface IURIFactoryschemeOrURI - the scheme name or URI from which this scheme is
to be created.
URIException - if an error occurs creating this URI scheme.
public void registerScheme(java.lang.String protocol,
IURIScheme scheme)
protocol - the protocol.scheme - the scheme.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||