Interface XmlThemeResourceProvider

All Known Implementing Classes:
ZipXmlThemeResourceProvider

public interface XmlThemeResourceProvider
Interface for a provider of resources referenced inside XML themes.
  • Method Details

    • createInputStream

      InputStream createInputStream(String relativePath, String source) throws IOException
      Parameters:
      relativePath - a relative path to use as a base for search in the resource provuider
      source - a source string parsed out of an XML render theme "src" attribute.
      Returns:
      an InputStream to read the resource data from.
      Throws:
      IOException - if the resource cannot be found or an access error occurred.