- Enclosing class:
Mustache
public static interface Mustache.TemplateLoader
Handles loading partial templates.
-
Method Summary
Modifier and TypeMethodDescriptiongetTemplate
(String name) Returns a reader for the template with the supplied name.
-
Method Details
-
getTemplate
Returns a reader for the template with the supplied name. Reader will be closed by callee.- Throws:
Exception
- if the template could not be loaded for any reason.
-