Class URILoader
java.lang.Object
com.intershop.tool.architecture.report.common.resources.URILoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URIcreateURIFromString(String location) Creates a URI by parsing the location string and fallback to a file URI if the scheme component was not detected byURI.create(String).static InputStreamgetInputStream(String location) static InputStreamgetInputStream(URI uri)
-
Constructor Details
-
URILoader
public URILoader()
-
-
Method Details
-
getInputStream
- Throws:
IOExceptionInterruptedException
-
getInputStream
- Throws:
IOExceptionInterruptedException
-
createURIFromString
Creates a URI by parsing the location string and fallback to a file URI if the scheme component was not detected byURI.create(String).- Parameters:
location- The string to be parsed into a UR- Returns:
- New URI
-