public abstract class AbstractNumberFormatFactory extends Object implements NumberFormatFactory
NumberFormatFactory implementations.| Constructor and Description |
|---|
AbstractNumberFormatFactory() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale()
The locale to use in formatting number values.
|
NumberFormat |
getNumberFormat()
Factory method that returns a fully-configured
NumberFormat instance to use to format an object for
display. |
void |
setLocale(Locale locale)
Sets the locale to use in formatting number values.
|
public Locale getLocale()
LocaleContextHolder.getLocale()public void setLocale(Locale locale)
locale - the localepublic final NumberFormat getNumberFormat()
NumberFormatFactoryNumberFormat instance to use to format an object for
display.getNumberFormat in interface NumberFormatFactory