public class MultiDirTemplateLoader extends Object implements freemarker.cache.TemplateLoader
| Constructor and Description |
|---|
MultiDirTemplateLoader() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTemplateDirectory(File dir) |
void |
closeTemplateSource(Object templateSource) |
Object |
findTemplateSource(String name) |
long |
getLastModified(Object templateSource) |
Reader |
getReader(Object templateSource,
String encoding) |
Set<String> |
getTemplatesFor(String templateOrProforma,
String language,
String type) |
public Object findTemplateSource(String name) throws IOException
findTemplateSource in interface freemarker.cache.TemplateLoaderIOExceptionpublic long getLastModified(Object templateSource)
getLastModified in interface freemarker.cache.TemplateLoaderpublic Reader getReader(Object templateSource, String encoding) throws IOException
getReader in interface freemarker.cache.TemplateLoaderIOExceptionpublic void closeTemplateSource(Object templateSource) throws IOException
closeTemplateSource in interface freemarker.cache.TemplateLoaderIOExceptionpublic void addTemplateDirectory(File dir) throws IOException
IOExceptionCopyright © 2018 Symphony Software Foundation. All rights reserved.