Class CurrencyNumberFormatFactory
java.lang.Object
org.springframework.binding.format.AbstractNumberFormatFactory
org.springframework.binding.format.CurrencyNumberFormatFactory
- All Implemented Interfaces:
NumberFormatFactory
Produces NumberFormat instances that format currency values.
- Author:
- Keith Donald
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected NumberFormat
getNumberFormat
(Locale locale) Subclasses should override to create the new NumberFormat instance.Methods inherited from class org.springframework.binding.format.AbstractNumberFormatFactory
getLocale, getNumberFormat, setLocale
-
Constructor Details
-
CurrencyNumberFormatFactory
public CurrencyNumberFormatFactory()
-
-
Method Details
-
getNumberFormat
Description copied from class:AbstractNumberFormatFactory
Subclasses should override to create the new NumberFormat instance.- Specified by:
getNumberFormat
in classAbstractNumberFormatFactory
- Parameters:
locale
- the locale to use- Returns:
- the number format
-