|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.core.RelativeUrlResolver
org.apache.ivy.core.ExecutionRelativeUrlResolver
public class 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 | |
---|---|
ExecutionRelativeUrlResolver()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutionRelativeUrlResolver()
Method Detail |
---|
public java.net.URL getURL(java.net.URL context, java.lang.String url) throws java.net.MalformedURLException
RelativeUrlResolver
getURL
in class RelativeUrlResolver
context
- The URL of the ressource containing the reference urlurl
- a relative or absolution url string
java.net.MalformedURLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |