Package org.apache.ivy.core.cache
Class DefaultResolutionCacheManager.MapURLResolver
- java.lang.Object
-
- org.apache.ivy.core.RelativeUrlResolver
-
- org.apache.ivy.core.cache.DefaultResolutionCacheManager.MapURLResolver
-
- Enclosing class:
- DefaultResolutionCacheManager
private static final class DefaultResolutionCacheManager.MapURLResolver extends RelativeUrlResolver
-
-
Field Summary
Fields Modifier and Type Field Description private RelativeUrlResolverdelegateprivate java.util.Map<java.lang.Object,java.lang.Object>paths
-
Constructor Summary
Constructors Modifier Constructor Description privateMapURLResolver(java.util.Map<java.lang.Object,java.lang.Object> paths, RelativeUrlResolver delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URLgetURL(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
-
-
-
-
Field Detail
-
paths
private java.util.Map<java.lang.Object,java.lang.Object> paths
-
delegate
private RelativeUrlResolver delegate
-
-
Constructor Detail
-
MapURLResolver
private MapURLResolver(java.util.Map<java.lang.Object,java.lang.Object> paths, RelativeUrlResolver delegate)
-
-
Method Detail
-
getURL
public java.net.URL getURL(java.net.URL context, java.lang.String url) throws java.net.MalformedURLExceptionDescription copied from class:RelativeUrlResolverResolve the url in the context of context.- Specified by:
getURLin 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
-
-