public class URIUtils extends Object
| Constructor and Description |
|---|
URIUtils() |
| 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.
|
static Document |
parseURI(URI uriRef)
Parses the content of the given URI as an XML document and returns a new DOM Document object.
|
public static Document parseURI(URI uriRef) throws SAXException, IOException
uriRef - An absolute URI specifying the location of an XML resource.SAXException - If the resource cannot be parsed.IOException - If the resource is not accessible.public static File dereferenceURI(URI uriRef) throws IOException
uriRef - An absolute URI specifying the location of some resource.IOException - If an IO error occurred.Copyright © 2019 Open Geospatial Consortium. All rights reserved.