public interface ResourceFinder
Modifier and Type | Method and Description |
---|---|
java.net.URI |
getBaseResourceURI() |
java.io.InputStream |
openResource(java.net.URI uri)
Obtain an input stream to the resource at the given URI.
|
java.net.URI |
resolve(java.net.URI parent,
java.net.URI child) |
java.io.InputStream openResource(java.net.URI uri) throws java.net.MalformedURLException, java.io.IOException
uri
- resource URInull
if the resource is not foundjava.net.MalformedURLException
- in case of invalid URIjava.io.IOException
- in case of read errorjava.net.URI getBaseResourceURI()
java.net.URI resolve(java.net.URI parent, java.net.URI child)