Class FileConfigFileLoader
- java.lang.Object
-
- org.mapfish.print.servlet.fileloader.AbstractFileConfigFileLoader
-
- org.mapfish.print.servlet.fileloader.FileConfigFileLoader
-
- All Implemented Interfaces:
ConfigFileLoaderPlugin
public final class FileConfigFileLoader extends AbstractFileConfigFileLoader
A plugin that loads the config resources from urls starting with prefix: "file"://.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PREFIX
-
Constructor Summary
Constructors Constructor Description FileConfigFileLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getUriScheme()
Returns the URI scheme that this loader supports.protected java.util.Iterator<java.io.File>
resolveFiles(java.net.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).-
Methods inherited from class org.mapfish.print.servlet.fileloader.AbstractFileConfigFileLoader
isAccessible, isAccessible, lastModified, loadFile, loadFile, platformIndependentUriToFile, toFile, toFile
-
-
-
-
Field Detail
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
resolveFiles
protected java.util.Iterator<java.io.File> resolveFiles(java.net.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 classAbstractFileConfigFileLoader
- Parameters:
fileURI
- the uri identifying the config file.
-
getUriScheme
public java.lang.String getUriScheme()
Description copied from interface:ConfigFileLoaderPlugin
Returns the URI scheme that this loader supports.
-
-