Package ninja.template
Class TemplateEngineFreemarkerPrettyTimeMethod
- java.lang.Object
-
- ninja.template.TemplateEngineFreemarkerPrettyTimeMethod
-
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel
,freemarker.template.TemplateMethodModelEx
,freemarker.template.TemplateModel
public class TemplateEngineFreemarkerPrettyTimeMethod extends Object implements freemarker.template.TemplateMethodModelEx
PrettyTime integration for Ninja-FreeMarker.- Author:
- James Moger
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description TemplateEngineFreemarkerPrettyTimeMethod(Locale locale)
-
-
-
Constructor Detail
-
TemplateEngineFreemarkerPrettyTimeMethod
public TemplateEngineFreemarkerPrettyTimeMethod(Locale locale)
-
-
Method Detail
-
exec
public freemarker.template.TemplateModel exec(List args) throws freemarker.template.TemplateModelException
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
- Throws:
freemarker.template.TemplateModelException
-
-