Class URIUtils
java.lang.Object
org.opengis.cite.ogcapiprocesses10.util.URIUtils
Provides a collection of utility methods for manipulating or resolving URI references.
- Author:
- bpr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic File
dereferenceURI
(URI uriRef) Dereferences the given URI and stores the resulting resource representation in a local file.
-
Constructor Details
-
URIUtils
public URIUtils()
-
-
Method Details
-
dereferenceURI
Dereferences the given URI and stores the resulting resource representation in a local file. The file will be located in the default temporary file directory.- Parameters:
uriRef
- An absolute URI specifying the location of some resource.- Returns:
- A File containing the content of the resource; it may be empty if resolution failed for any reason.
- Throws:
IOException
- If an IO error occurred.
-