Class URIUtils
java.lang.Object
org.apache.syncope.core.persistence.api.utils.URIUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic URI
buildForConnId
(String location) Build a valid URI out of the given location.
-
Method Details
-
buildForConnId
Build a valid URI out of the given location. Only "file", "connid" and "connids" schemes are allowed. For "file", invalid characters are handled via intermediate transformation into URL.- Parameters:
location
- the candidate location for URI- Returns:
- valid URI for the given location
- Throws:
MalformedURLException
- if the intermediate URL is not validURISyntaxException
- if the given location does not correspond to a valid URI
-