org.exolab.castor.net.util
public final class URIResolverImpl extends Object implements URIResolver
Version: $Revision: 5951 $ $Date: 2003-03-03 02:57:21 -0700 (Mon, 03 Mar 2003) $
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:
However, the following won't be valid:file:/c:/Program Files/MyApp/myresource.xml file://usr/etc/myresource.xml http://www.castor.org/index.html ../relative/index.html
file://c:/Program Files/MyApp/myresource.xml
Returns: the URILocation for the URI
Returns: the URILocation for the URN