Class ContextJSASSResourceURI
- java.lang.Object
-
- org.ametys.plugins.core.ui.resources.css.ContextJSASSResourceURI
-
- All Implemented Interfaces:
JSASSResourceURI
,Serviceable
public class ContextJSASSResourceURI extends Object implements JSASSResourceURI, Serviceable
JSASS Resource URI for context URI
-
-
Field Summary
Fields Modifier and Type Field Description private SupportedContextResourceUriExtensionPoint
_supportedContextResourceUri
-
Constructor Summary
Constructors Constructor Description ContextJSASSResourceURI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private SupportedContextResourceUri
getExtension(String id)
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)
-
-
-
Field Detail
-
_supportedContextResourceUri
private SupportedContextResourceUriExtensionPoint _supportedContextResourceUri
-
-
Constructor Detail
-
ContextJSASSResourceURI
public ContextJSASSResourceURI()
-
-
Method Detail
-
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
-
getExtension
private SupportedContextResourceUri getExtension(String id)
-
-