Class MessageFormatterMethod

  • All Implemented Interfaces:
    freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

    public class MessageFormatterMethod
    extends Object
    implements freemarker.template.TemplateMethodModelEx
    Author:
    Michael Gerber
    • Constructor Detail

      • MessageFormatterMethod

        public MessageFormatterMethod​(Locale locale,
                                      Properties messages)
    • Method Detail

      • exec

        public Object exec​(List list)
                    throws freemarker.template.TemplateModelException
        Specified by:
        exec in interface freemarker.template.TemplateMethodModel
        Specified by:
        exec in interface freemarker.template.TemplateMethodModelEx
        Throws:
        freemarker.template.TemplateModelException