Class PercentNumberFormatFactory
java.lang.Object
org.springframework.binding.format.AbstractNumberFormatFactory
org.springframework.binding.format.PercentNumberFormatFactory
- All Implemented Interfaces:
NumberFormatFactory
Produces NumberFormat instances that format percent 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
-
PercentNumberFormatFactory
public PercentNumberFormatFactory()
-
-
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
-