Package org.apache.ivy.core
Class NormalRelativeUrlResolver
- java.lang.Object
-
- org.apache.ivy.core.RelativeUrlResolver
-
- org.apache.ivy.core.NormalRelativeUrlResolver
-
public class NormalRelativeUrlResolver extends RelativeUrlResolver
Normal implementation of RelativeUrlResolver.
-
-
Constructor Summary
Constructors Constructor Description NormalRelativeUrlResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URL
getURL(java.net.URL context, java.lang.String url)
Resolve the url in the context of context.-
Methods inherited from class org.apache.ivy.core.RelativeUrlResolver
getURL
-
-
-
-
Method Detail
-
getURL
public java.net.URL getURL(java.net.URL context, java.lang.String url) throws java.net.MalformedURLException
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:
java.net.MalformedURLException
- if url is wrong
-
-