public class URIResolver extends Object
URI Resolver uses local mapping file or DNS servers to resolve a URI to a URL, or simply uses the URL class if the URI is already a URL.
Constructor and Description |
---|
URIResolver(URI uri) |
URIResolver(URI uri,
URI baseUri) |
Modifier and Type | Method and Description |
---|---|
URI |
getResolvedUri() |
InputStream |
openStream()
Open the stream pointed by this uri
|
URL |
resolveToUrl()
Resolves the URI to a URL using the appropriate resolution method (depending on URI scheme)
|
public URIResolver(URI uri)
public InputStream openStream() throws IOException
IOException
public URL resolveToUrl() throws IOException
IOException
public URI getResolvedUri()
Copyright © 2016 Sensia Software LLC. All rights reserved.