public class WorkspacesJSASSResourceURI extends Object implements JSASSResourceURI
Modifier and Type | Field and Description |
---|---|
private static Pattern |
PATH_SUPPORTED_PATTERN |
private static Pattern |
URI_SUPPORTED_PATTERN |
Constructor and Description |
---|
WorkspacesJSASSResourceURI() |
Modifier and Type | Method and Description |
---|---|
String |
resolve(String uri)
Resolve the URI, or returns null if the URI is not supported
|
String |
resolvePath(String path)
Resolve a path and return the URI corresponding, or null if the path is not supported
|
private static final Pattern URI_SUPPORTED_PATTERN
private static final Pattern PATH_SUPPORTED_PATTERN
public WorkspacesJSASSResourceURI()
public String resolve(String uri) throws URISyntaxException
JSASSResourceURI
resolve
in interface JSASSResourceURI
uri
- The URIURISyntaxException
- If the URI is not supportedpublic String resolvePath(String path)
JSASSResourceURI
resolvePath
in interface JSASSResourceURI
path
- The path