public interface MustacheEngine
| Modifier and Type | Method and Description |
|---|---|
Mustache |
compileMustache(String templateId,
String templateContent)
Compile the given template.
|
Configuration |
getConfiguration() |
Mustache |
getMustache(String templateId)
Get the compiled template with the given id.
|
void |
invalidateTemplateCache()
Invalidate the template cache.
|
Mustache getMustache(String templateId)
templateId - The template identifiernull if
no such template existsTemplateLocator,
EngineConfigurationKey.TEMPLATE_CACHE_ENABLED,
EngineConfigurationKey.TEMPLATE_CACHE_EXPIRATION_TIMEOUTMustache compileMustache(String templateId, String templateContent)
templateId - The template identifiertemplateContent - Configuration getConfiguration()
void invalidateTemplateCache()
Copyright © 2014. All Rights Reserved.