org.exolab.castor.net.util
public final class URIResolverImpl extends Object implements URIResolver
Version: $Revision: 1.2 $ $Date: 2003/03/03 09:57:16 $
| Constructor Summary | |
|---|---|
| URIResolverImpl() | |
| Method Summary | |
|---|---|
| URILocation | resolve(String href, String documentBase)
Resolves the given href and documentBase.
|
| URILocation | resolveURN(String urn)
Resolves the given urn. |
Note:
file:/c:/Program Files/MyApp/myresource.xml
file://usr/etc/myresource.xml
http://www.castor.org/index.html
../relative/index.html
However, the following won't be valid:
file://c:/Program Files/MyApp/myresource.xml
Returns: the URILocation for the URI
Returns: the URILocation for the URN