public class MessageFormatTemplateFormatter extends Object implements TemplateFormatter
MessageFormat
based implementation of
TemplateFormatter
.public String format(String msgTemplate, List<String> args, Locale locale)
TemplateFormatter
format
in interface TemplateFormatter
msgTemplate
- locale-specific message templateargs
- arguments to substitute in the templatelocale
- target locale; used to localize replaced args
Copyright © 2016. All Rights Reserved.