public class TemplatesJSASSResourceURI extends Object implements JSASSResourceURI, Contextualizable, Serviceable
| Modifier and Type | Field and Description |
|---|---|
private Context |
_context |
private SkinsManager |
_skinsManager |
private static Pattern |
PATH_SUPPORTED_PATTERN |
private static Pattern |
URI_SUPPORTED_PATTERN |
| Constructor and Description |
|---|
TemplatesJSASSResourceURI() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextualize(Context context) |
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 static final Pattern URI_SUPPORTED_PATTERN
private static final Pattern PATH_SUPPORTED_PATTERN
private SkinsManager _skinsManager
public TemplatesJSASSResourceURI()
public void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic String resolve(String uri) throws URISyntaxException
JSASSResourceURIresolve in interface JSASSResourceURIuri - The URIURISyntaxException - If the URI is not supportedpublic String resolvePath(String path)
JSASSResourceURIresolvePath in interface JSASSResourceURIpath - The path