URIResolverAdapter
public interface ResourceResolver
Modifier and Type | Method | Description |
---|---|---|
java.io.OutputStream |
getOutputStream(java.net.URI uri) |
Gets an output stream of a given URI.
|
Resource |
getResource(java.net.URI uri) |
Get a resource given the URI pointing to said resource.
|
Resource getResource(java.net.URI uri) throws java.io.IOException
uri
- the resource URIjava.io.IOException
- if an I/O error occured during resource acquisitionjava.io.OutputStream getOutputStream(java.net.URI uri) throws java.io.IOException
uri
- the output stream URIjava.io.IOException
- if an I/O error occured while creating an output streamCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.