public interface ResourceResolver
限定符和类型 | 方法和说明 |
---|---|
OutputStream |
getOutputStream(URI uri)
Gets an output stream of a given URI.
|
Resource |
getResource(URI uri)
Get a resource given the URI pointing to said resource.
|
Resource getResource(URI uri) throws IOException
uri
- the resource URIIOException
- if an I/O error occured during resource acquisitionOutputStream getOutputStream(URI uri) throws IOException
uri
- the output stream URIIOException
- if an I/O error occured while creating an output streamCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.