org.opengis.cite.ogcapifeatures10.util

## Class URIUtils

- java.lang.Object
- - org.opengis.cite.ogcapifeatures10.util.URIUtils

-     public class URIUtils
      extends Object

  Provides a collection of utility methods for manipulating or resolving URI references.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `URIUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static File` | `dereferenceURI(URI uriRef)` Dereferences the given URI and stores the resulting resource representation in a local file.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### URIUtils

          public URIUtils()

  - ### Method Detail

    - #### dereferenceURI

          public static File dereferenceURI(URI uriRef)
                                     throws IOException

      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.

Copyright © 2020 Open Geospatial Consortium. All rights reserved.