|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.binding.format.AbstractNumberFormatFactory
public abstract class AbstractNumberFormatFactory
Base class suitable for subclassing by most NumberFormatFactory implementations.
| Constructor Summary | |
|---|---|
AbstractNumberFormatFactory()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractNumberFormatFactory()
| Method Detail |
|---|
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||