Interface ResourceResolver

All Known Implementing Classes:
URIResolverAdapter

public interface ResourceResolver
Implementations of this resource resolver allow XGC users to control the URI resolution mechanism. All resource and output stream acquisition goes through this when its implementation is given to the org.apache.fop.apps.EnvironmentProfile.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets an output stream of a given URI.
    Get a resource given the URI pointing to said resource.
  • Method Details

    • getResource

      Resource getResource(URI uri) throws IOException
      Get a resource given the URI pointing to said resource.
      Parameters:
      uri - the resource URI
      Returns:
      the resource
      Throws:
      IOException - if an I/O error occured during resource acquisition
    • getOutputStream

      OutputStream getOutputStream(URI uri) throws IOException
      Gets an output stream of a given URI.
      Parameters:
      uri - the output stream URI
      Returns:
      the output stream
      Throws:
      IOException - if an I/O error occured while creating an output stream