Class WorkspacesJSASSResourceURI
- java.lang.Object
-
- org.ametys.plugins.core.ui.resources.css.WorkspacesJSASSResourceURI
-
- All Implemented Interfaces:
JSASSResourceURI
public class WorkspacesJSASSResourceURI extends Object implements JSASSResourceURI
JSASS Resource URI for workspaces URI
-
-
Field Summary
Fields Modifier and Type Field Description private static Pattern
PATH_SUPPORTED_PATTERN
private static Pattern
URI_SUPPORTED_PATTERN
-
Constructor Summary
Constructors Constructor Description WorkspacesJSASSResourceURI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 supported
-
-
-
Field Detail
-
URI_SUPPORTED_PATTERN
private static final Pattern URI_SUPPORTED_PATTERN
-
PATH_SUPPORTED_PATTERN
private static final Pattern PATH_SUPPORTED_PATTERN
-
-
Constructor Detail
-
WorkspacesJSASSResourceURI
public WorkspacesJSASSResourceURI()
-
-
Method Detail
-
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
-
-