Class ClasspathResolverURIAdapter

java.lang.Object
org.docx4j.samples.ClasspathResolverURIAdapter
All Implemented Interfaces:
org.apache.xmlgraphics.io.ResourceResolver

public class ClasspathResolverURIAdapter extends Object implements org.apache.xmlgraphics.io.ResourceResolver
  • Field Details

    • wrapped

      private final org.apache.xmlgraphics.io.ResourceResolver wrapped
  • Constructor Details

    • ClasspathResolverURIAdapter

      public ClasspathResolverURIAdapter()
  • Method Details

    • getResource

      public org.apache.xmlgraphics.io.Resource getResource(URI uri) throws IOException
      Specified by:
      getResource in interface org.apache.xmlgraphics.io.ResourceResolver
      Throws:
      IOException
    • getOutputStream

      public OutputStream getOutputStream(URI uri) throws IOException
      Specified by:
      getOutputStream in interface org.apache.xmlgraphics.io.ResourceResolver
      Throws:
      IOException