- All Implemented Interfaces:
- com.samskivert.mustache.Mustache.TemplateLoader, Aware, ResourceLoaderAware
public class MustacheResourceTemplateLoader
extends Object
implements com.samskivert.mustache.Mustache.TemplateLoader, ResourceLoaderAware
Mustache TemplateLoader implementation that uses a prefix, suffix and the Spring
Resource abstraction to load a template from a file, classpath, URL etc. A
TemplateLoader is needed in the Compiler when you want to render partials (i.e.
tiles-like fetaures).
- Since:
- 1.2.2
- Author:
- Dave Syer
- See Also:
Mustache
,
Resource