Package org.ametys.web.minimize
Class SkinsJSASSResourceURI
java.lang.Object
org.ametys.web.minimize.SkinsJSASSResourceURI
- All Implemented Interfaces:
JSASSResourceURI
,Serviceable
JSASS Resource URI for skins URI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Get the skinResolve the URI, or returns null if the URI is not supportedresolvePath
(String path) Resolve a path and return the URI corresponding, or null if the path is not supportedvoid
service
(ServiceManager manager)
-
Constructor Details
-
SkinsJSASSResourceURI
public SkinsJSASSResourceURI()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
resolve
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
-
_getSkin
Get the skin- Parameters:
skin
- The skindefaultValue
- default value if no skin specified and no valid skin found- Returns:
- The skin name
-
resolvePath
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
-