@Singleton @Named public final class NlsFormatterCurrency extends SimpleNlsFormatter<Object>
NlsFormatter for
NlsFormatterManager.STYLE_CURRENCY.| Constructor and Description |
|---|
NlsFormatterCurrency()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Formatter<Object> |
createFormatter(Locale locale)
This method creates the underlying
Formatter to delegate to. |
String |
getStyle()
This method gets the
style of this formatter. |
String |
getType()
This method gets the
type of
this formatter. |
format, formattoStringcreateLogger, doInitialize, getLoggerdoInitialized, getInitializationState, initializeprotected Formatter<Object> createFormatter(Locale locale)
SimpleNlsFormatterFormatter to delegate to.createFormatter in class SimpleNlsFormatter<Object>locale - is the locale of the Formatter to create.public String getType()
NlsFormatterPlugintype of
this formatter. See TYPE_* constants of NlsFormatterManager e.g.
NlsFormatterManager.TYPE_NUMBER.null for the
default formatter. If type is
null then also style needs to be null.public String getStyle()
NlsFormatterPluginstyle of this formatter. See STYLE_* constants of
NlsFormatterManager e.g.
NlsFormatterManager.STYLE_LONG.null for no style.Copyright © 2001–2016 mmm-Team. All rights reserved.