|
xmlgraphics-commons 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.io.URIResolverAdapter
public class URIResolverAdapter
An adapter between URIResolver to ResourceResolver. This adapter allows users
to utilize the resolvers from the XML library for resource acquisition.
| Constructor Summary | |
|---|---|
URIResolverAdapter(javax.xml.transform.URIResolver resolver)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URIResolverAdapter(javax.xml.transform.URIResolver resolver)
resolver - the desired URIResolver| Method Detail |
|---|
public Resource getResource(java.net.URI uri)
throws java.io.IOException
getResource in interface ResourceResolveruri - the resource URI
java.io.IOException - if an I/O error occured during resource acquisition
public java.io.OutputStream getOutputStream(java.net.URI uri)
throws java.io.IOException
getOutputStream in interface ResourceResolveruri - the output stream URI
java.io.IOException - if an I/O error occured while creating an output stream
|
xmlgraphics-commons 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||