Class URIHelper
java.lang.Object
pl.edu.icm.unity.engine.api.files.URIHelper
A helper class for parsing uri from string and validating it against used
schemes
- Author:
- P.Piernik
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getPathFromURI
(URI uri) static boolean
isWebReady
(String rawURI) static boolean
isWebReady
(URI uri) static URI
static void
validateURI
(URI uri)
-
Field Details
-
SUPPORTED_LOCAL_FILE_SCHEMES
-
SUPPORTED_URL_SCHEMES
-
-
Constructor Details
-
URIHelper
public URIHelper()
-
-
Method Details
-
parseURI
- Throws:
IllegalURIException
-
validateURI
- Throws:
IllegalURIException
-
isWebReady
-
isWebReady
-
getPathFromURI
-