public final class URILocationResolver extends Object
| Constructor and Description |
|---|
URILocationResolver() |
public URL resolve(URI baseURI, URI uri) throws MalformedURLException
Resolve the uri according to the baseURI.
If baseURI is null, the return value is the
uri converted into URL using URI.toURL().
Otherwise the return value is the result of URL.URL(URL, String).
baseURI - The base URI.uri - The URI to resolve.URL.MalformedURLException - The resolved URI is not a well-formed URL.Copyright © 2008-2015 Petals Link (previously EBM WebSourcing). All Rights Reserved.