public class URIResolverAdapter extends Object implements ResourceResolver
URIResolver to ResourceResolver. This adapter allows users
to utilize the resolvers from the XML library for resource acquisition.| Constructor and Description |
|---|
URIResolverAdapter(URIResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public URIResolverAdapter(URIResolver resolver)
resolver - the desired URIResolverpublic Resource getResource(URI uri) throws IOException
getResource in interface ResourceResolveruri - the resource URIIOException - if an I/O error occured during resource acquisitionpublic OutputStream getOutputStream(URI uri) throws IOException
getOutputStream in interface ResourceResolveruri - the output stream URIIOException - if an I/O error occured while creating an output streamCopyright © 2025 Apache Software Foundation. All rights reserved.