N - public abstract class AbstractDecimalConverter<N extends Number> extends AbstractNumberConverter<N>
| Constructor and Description |
|---|
AbstractDecimalConverter() |
| Modifier and Type | Method and Description |
|---|---|
NumberFormat |
getNumberFormat(Locale locale) |
protected NumberFormat |
newNumberFormat(Locale locale)
Creates a new
NumberFormat for the given locale. |
void |
setNumberFormat(Locale locale,
NumberFormat numberFormat) |
convertToString, parsegetTargetType, newConversionException, parseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertToObjectpublic NumberFormat getNumberFormat(Locale locale)
getNumberFormat in class AbstractNumberConverter<N extends Number>locale - protected NumberFormat newNumberFormat(Locale locale)
NumberFormat for the given locale. The instance is later cached and is
accessible through getNumberFormat(Locale)locale - public final void setNumberFormat(Locale locale, NumberFormat numberFormat)
locale - The Locale that was used for this NumberFormatnumberFormat - The numberFormat to set.Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.