public class URLResolver extends Object implements PathResolver, Serializable
PathResolver,
Serialized Form| Constructor 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 PathResolverctxPath - Context sensitive path, can be a relative URLnullPathResolver.resolvePath(java.lang.String)public PathResolver getResolver(String ctxPath)
PathResolvergetResolver in interface PathResolverctxPath - Context sensitive path, can be a relative URLPathResolver.getResolver(java.lang.String)Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.