Package org.apache.ivy.core
Class ExecutionRelativeUrlResolver
java.lang.Object
org.apache.ivy.core.RelativeUrlResolver
org.apache.ivy.core.ExecutionRelativeUrlResolver
Resolve relative url relatively to the current execution directory instead of relatively to the
context. This is was actually done prior 2.0. This class allow thus to work in a backward
compatible mode.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.ivy.core.RelativeUrlResolver
getURL
-
Constructor Details
-
ExecutionRelativeUrlResolver
public ExecutionRelativeUrlResolver()
-
-
Method Details
-
getURL
Description copied from class:RelativeUrlResolver
Resolve the url in the context of context.- Specified by:
getURL
in classRelativeUrlResolver
- Parameters:
context
- The URL of the resource containing the reference urlurl
- a relative or absolution url string- Returns:
- URL
- Throws:
MalformedURLException
- if url is wrong
-