org.apache.ivy.core
public abstract class RelativeUrlResolver extends Object
Method Summary | |
---|---|
abstract URL | getURL(URL context, String url)
Resolve the url in the context of context. |
URL | getURL(URL context, String file, String url)
Relsovle file or url path relatively to a context. file is considered first.
|
Parameters: context The URL of the ressource containing the reference url url a relative or absolution url string
Throws: MalformedURLException
Parameters: context The URL of the ressource containing the reference file or url file a relative or absolute path url a relative or absolution url string
Returns: the resulting url or null if faile and url are null.
Throws: MalformedURLException