public final class StringFormatTemplateFormatter extends Object implements TemplateFormatter
Formatter
based 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.