Class JSASSResourceURIExtensionPoint
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<JSASSResourceURI>
-
- org.ametys.plugins.core.ui.resources.css.JSASSResourceURIExtensionPoint
-
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<JSASSResourceURI>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class JSASSResourceURIExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<JSASSResourceURI>
Extension point for resource URIs supported by JSASS
-
-
Field Summary
Fields Modifier and Type Field Description static String
ROLE
avalon role-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description JSASSResourceURIExtensionPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
resolve(String uri)
Resolve the URI, or returns the original uri if it is not supportedString
resolvePath(String path)
Resolve a path and return the URI corresponding, or null if the path is not supported-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
JSASSResourceURIExtensionPoint
public JSASSResourceURIExtensionPoint()
-
-
Method Detail
-
resolve
public String resolve(String uri) throws URISyntaxException
Resolve the URI, or returns the original uri if it is not supported- Parameters:
uri
- The URI- Returns:
- The resolved URI
- Throws:
URISyntaxException
- If the URI is not supported
-
resolvePath
public String resolvePath(String path)
Resolve a path and return the URI corresponding, or null if the path is not supported- Parameters:
path
- The path- Returns:
- The URI
-
-