O
- is the generic type of the object to format(Object, Locale, Map, NlsTemplateResolver)
.public abstract class AbstractNlsFormatter<O> extends AbstractLoggableComponent implements NlsFormatter<O>
NlsFormatter
interface. NlsFormatter
interface to gain
compatibility with further releases.Constructor and Description |
---|
AbstractNlsFormatter()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
format(O object,
Locale locale,
Map<String,Object> arguments,
NlsTemplateResolver resolver)
This method formats the given
object according to the given locale . |
createLogger, doInitialize, getLogger
doInitialized, getInitializationState, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
format
public String format(O object, Locale locale, Map<String,Object> arguments, NlsTemplateResolver resolver)
NlsFormatter
object
according to the given locale
.format
in interface NlsFormatter<O>
object
- is the object to format.locale
- is the locale used for localized formatting.arguments
- is the Map
of arguments.resolver
- is the NlsTemplateResolver
.object
.Copyright © 2001–2016 mmm-Team. All rights reserved.