Class ResourceTemplateLoader
java.lang.Object
org.nuxeo.ecm.platform.rendering.fm.ResourceTemplateLoader
- All Implemented Interfaces:
freemarker.cache.TemplateLoader
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.nuxeo.ecm.platform.rendering.fm.ResourceTemplateLoader.MyFileTemplateLoader
protected ResourceLocator
protected final org.nuxeo.ecm.platform.rendering.fm.ResourceTemplateLoader.MyURLTemplateLoader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
closeTemplateSource
(Object templateSource) findTemplateSource
(String name) long
getLastModified
(Object templateSource) void
setLocator
(ResourceLocator locator)
-
Field Details
-
locator
-
urlLoader
protected final org.nuxeo.ecm.platform.rendering.fm.ResourceTemplateLoader.MyURLTemplateLoader urlLoader -
fileLoader
protected final org.nuxeo.ecm.platform.rendering.fm.ResourceTemplateLoader.MyFileTemplateLoader fileLoader
-
-
Constructor Details
-
ResourceTemplateLoader
-
-
Method Details
-
setLocator
-
getLocator
-
closeTemplateSource
- Specified by:
closeTemplateSource
in interfacefreemarker.cache.TemplateLoader
- Throws:
IOException
-
findTemplateSource
- Specified by:
findTemplateSource
in interfacefreemarker.cache.TemplateLoader
- Throws:
IOException
-
getLastModified
- Specified by:
getLastModified
in interfacefreemarker.cache.TemplateLoader
-
getReader
- Specified by:
getReader
in interfacefreemarker.cache.TemplateLoader
- Throws:
IOException
-