public class NlsArgumentFormatterImpl extends AbstractNlsFormatter<NlsArgument> implements NlsArgumentFormatter
NlsFormatter for an actual NlsArgument. It performs the higher-level formatting with
justification delegating the lower-level formatting to the
according sub-formatter (typically a
NlsFormatterPlugin).| Constructor and Description |
|---|
NlsArgumentFormatterImpl()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
format(NlsArgument argument,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver,
Appendable buffer)
This method formats the given
object according to the given locale. |
formatcreateLogger, doInitialize, getLoggerdoInitialized, getInitializationState, initializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformatpublic void format(NlsArgument argument, Locale locale, Map<String,Object> arguments, NlsTemplateResolver resolver, Appendable buffer) throws IOException
NlsFormatterobject according to the given locale.format in interface NlsFormatter<NlsArgument>argument - is the object to format.locale - is the locale used for localized formatting.arguments - is the Map of arguments.resolver - is the NlsTemplateResolver.buffer - is where to append the formatted object.IOException - if the given Appendable caused such exception.Copyright © 2001–2016 mmm-Team. All rights reserved.