public class URLResolver extends Object implements PathResolver, Serializable
PathResolver
,
Serialized FormConstructor and Description |
---|
URLResolver(URL baseURL)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PathResolver |
getResolver(String ctxPath)
Get a PathResolver rooted at this context sensitive path.
|
String |
resolvePath(String ctxPath)
Uses URL(URL, String) constructor to combine URL's.
|
public URLResolver(URL baseURL)
baseURL
- The base URL to resolve againstpublic String resolvePath(String ctxPath)
resolvePath
in interface PathResolver
ctxPath
- Context sensitive path, can be a relative URLnull
PathResolver.resolvePath(java.lang.String)
public PathResolver getResolver(String ctxPath)
PathResolver
getResolver
in interface PathResolver
ctxPath
- Context sensitive path, can be a relative URLPathResolver.getResolver(java.lang.String)
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.