Package org.ametys.web.minimize
Class TemplatesJSASSResourceURI
- java.lang.Object
-
- org.ametys.web.minimize.TemplatesJSASSResourceURI
-
- All Implemented Interfaces:
JSASSResourceURI
,Contextualizable
,Serviceable
public class TemplatesJSASSResourceURI extends Object implements JSASSResourceURI, Contextualizable, Serviceable
JSASS Resource URI for skins' templates URI
-
-
Constructor Summary
Constructors Constructor Description TemplatesJSASSResourceURI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextualize(Context context)
String
resolve(String uri)
Resolve the URI, or returns null if the URI is not supportedString
resolvePath(String path)
Resolve a path and return the URI corresponding, or null if the path is not supportedvoid
service(ServiceManager manager)
-
-
-
Constructor Detail
-
TemplatesJSASSResourceURI
public TemplatesJSASSResourceURI()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
resolve
public String resolve(String uri) throws URISyntaxException
Description copied from interface:JSASSResourceURI
Resolve the URI, or returns null if the URI is not supported- Specified by:
resolve
in interfaceJSASSResourceURI
- Parameters:
uri
- The URI- Returns:
- The resolved URI
- Throws:
URISyntaxException
- If the URI is not supported
-
resolvePath
public String resolvePath(String path)
Description copied from interface:JSASSResourceURI
Resolve a path and return the URI corresponding, or null if the path is not supported- Specified by:
resolvePath
in interfaceJSASSResourceURI
- Parameters:
path
- The path- Returns:
- The URI
-
-