Class ServletConfigFileLoader

java.lang.Object
org.mapfish.print.servlet.fileloader.AbstractFileConfigFileLoader
org.mapfish.print.servlet.fileloader.ServletConfigFileLoader
All Implemented Interfaces:
ConfigFileLoaderPlugin

public final class ServletConfigFileLoader extends AbstractFileConfigFileLoader
A plugin that loads the config resources from urls starting with prefix: "servlet"://.
  • Field Details

  • Constructor Details

    • ServletConfigFileLoader

      public ServletConfigFileLoader()
  • Method Details

    • resolveFiles

      protected Iterator<File> resolveFiles(URI fileURI)
      Description copied from class: AbstractFileConfigFileLoader
      Load the files referenced by the id (in the case of a classpath uri it could references several files, although normally it will only reference one).
      Specified by:
      resolveFiles in class AbstractFileConfigFileLoader
      Parameters:
      fileURI - the uri identifying the config file.
    • getUriScheme

      public String getUriScheme()
      Description copied from interface: ConfigFileLoaderPlugin
      Returns the URI scheme that this loader supports.
    • setServletContext

      public void setServletContext(javax.servlet.ServletContext servletContext)