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