| java.lang.Object org.springframework.ui.freemarker.SpringTemplateLoader
SpringTemplateLoader | public class SpringTemplateLoader implements TemplateLoader(Code) | | FreeMarker TemplateLoader adapter that loads via a Spring ResourceLoader.
Used by FreeMarkerConfigurationFactory for any resource loader path that
cannot be resolved to a java.io.File.
Note that this loader does not allow for modification detection:
Use FreeMarker's default TemplateLoader for java.io.File resources.
author: Juergen Hoeller since: 14.03.2004 See Also: FreeMarkerConfigurationFactory.setTemplateLoaderPath See Also: freemarker.template.Configuration.setDirectoryForTemplateLoading |
Field Summary | |
final protected Log | logger |
logger | final protected Log logger(Code) | | |
SpringTemplateLoader | public SpringTemplateLoader(ResourceLoader resourceLoader, String templateLoaderPath)(Code) | | Create a new SpringTemplateLoader.
Parameters: resourceLoader - the Spring ResourceLoader to use Parameters: templateLoaderPath - the template loader path to use |
getLastModified | public long getLastModified(Object templateSource)(Code) | | |
|
|