public class ContextJSASSResourceURI extends Object implements JSASSResourceURI, Serviceable
Modifier and Type | Field and Description |
---|---|
private SupportedContextResourceUriExtensionPoint |
_supportedContextResourceUri |
Constructor and Description |
---|
ContextJSASSResourceURI() |
Modifier and Type | Method and Description |
---|---|
private SupportedContextResourceUri |
getExtension(String id) |
String |
resolve(String uri)
Resolve the URI, or returns null if the URI is not supported
|
String |
resolvePath(String path)
Resolve a path and return the URI corresponding, or null if the path is not supported
|
void |
service(ServiceManager manager) |
private SupportedContextResourceUriExtensionPoint _supportedContextResourceUri
public ContextJSASSResourceURI()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public String resolve(String uri) throws URISyntaxException
JSASSResourceURI
resolve
in interface JSASSResourceURI
uri
- The URIURISyntaxException
- If the URI is not supportedpublic String resolvePath(String path)
JSASSResourceURI
resolvePath
in interface JSASSResourceURI
path
- The pathprivate SupportedContextResourceUri getExtension(String id)