Class ServletConfigFileLoader
java.lang.Object
org.mapfish.print.servlet.fileloader.AbstractFileConfigFileLoader
org.mapfish.print.servlet.fileloader.ServletConfigFileLoader
- All Implemented Interfaces:
ConfigFileLoaderPlugin
A plugin that loads the config resources from urls starting with prefix: "servlet"://.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the URI scheme that this loader supports.resolveFiles
(URI fileURI) 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).void
setServletContext
(javax.servlet.ServletContext servletContext) Methods inherited from class org.mapfish.print.servlet.fileloader.AbstractFileConfigFileLoader
isAccessible, isAccessible, lastModified, loadFile, loadFile, platformIndependentUriToFile, toFile, toFile
-
Field Details
-
PREFIX
- See Also:
-
PREFIX_LENGTH
public static final int PREFIX_LENGTH
-
-
Constructor Details
-
ServletConfigFileLoader
public ServletConfigFileLoader()
-
-
Method Details
-
resolveFiles
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 classAbstractFileConfigFileLoader
- Parameters:
fileURI
- the uri identifying the config file.
-
getUriScheme
Description copied from interface:ConfigFileLoaderPlugin
Returns the URI scheme that this loader supports. -
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
-