| java.lang.Object org.apache.commons.beanutils.locale.BaseLocaleConverter org.apache.commons.beanutils.locale.converters.DecimalLocaleConverter
All known Subclasses: org.apache.commons.beanutils.locale.converters.IntegerLocaleConverter, org.apache.commons.beanutils.locale.converters.LongLocaleConverter, org.apache.commons.beanutils.locale.converters.FloatLocaleConverter, org.apache.commons.beanutils.locale.converters.DoubleLocaleConverter, org.apache.commons.beanutils.locale.converters.ByteLocaleConverter, org.apache.commons.beanutils.locale.converters.BigIntegerLocaleConverter, org.apache.commons.beanutils.locale.converters.BigDecimalLocaleConverter, org.apache.commons.beanutils.locale.converters.ShortLocaleConverter,
Constructor Summary | |
public | DecimalLocaleConverter() Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will throw a
org.apache.commons.beanutils.ConversionException if a conversion error occurs. | public | DecimalLocaleConverter(boolean locPattern) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will throw a
org.apache.commons.beanutils.ConversionException if a conversion error occurs. | public | DecimalLocaleConverter(Locale locale) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will throw a
org.apache.commons.beanutils.ConversionException if a conversion error occurs. | public | DecimalLocaleConverter(Locale locale, boolean locPattern) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will throw a
org.apache.commons.beanutils.ConversionException if a conversion error occurs. | public | DecimalLocaleConverter(Locale locale, String pattern) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will throw a
org.apache.commons.beanutils.ConversionException if a conversion error occurs. | public | DecimalLocaleConverter(Locale locale, String pattern, boolean locPattern) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will throw a
org.apache.commons.beanutils.ConversionException if a conversion error occurs. | public | DecimalLocaleConverter(Object defaultValue) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. | public | DecimalLocaleConverter(Object defaultValue, boolean locPattern) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. | public | DecimalLocaleConverter(Object defaultValue, Locale locale) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. | public | DecimalLocaleConverter(Object defaultValue, Locale locale, boolean locPattern) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. | public | DecimalLocaleConverter(Object defaultValue, Locale locale, String pattern) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. | public | DecimalLocaleConverter(Object defaultValue, Locale locale, String pattern, boolean locPattern) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. |
Method Summary | |
protected Object | parse(Object value, String pattern) Convert the specified locale-sensitive input object into an output
object of the specified type. |
DecimalLocaleConverter | public DecimalLocaleConverter(Object defaultValue)(Code) | | Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. The locale is the default locale for
this instance of the Java Virtual Machine and an unlocalized pattern is used
for the convertion.
Parameters: defaultValue - The default value to be returned |
DecimalLocaleConverter | public DecimalLocaleConverter(Object defaultValue, boolean locPattern)(Code) | | Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. The locale is the default locale for
this instance of the Java Virtual Machine.
Parameters: defaultValue - The default value to be returned Parameters: locPattern - Indicate whether the pattern is localized or not |
DecimalLocaleConverter | public DecimalLocaleConverter(Object defaultValue, Locale locale)(Code) | | Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. An unlocalized pattern is used for the convertion.
Parameters: defaultValue - The default value to be returned Parameters: locale - The locale |
DecimalLocaleConverter | public DecimalLocaleConverter(Object defaultValue, Locale locale, boolean locPattern)(Code) | | Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs.
Parameters: defaultValue - The default value to be returned Parameters: locale - The locale Parameters: locPattern - Indicate whether the pattern is localized or not |
DecimalLocaleConverter | public DecimalLocaleConverter(Object defaultValue, Locale locale, String pattern)(Code) | | Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. An unlocalized pattern is used for the convertion.
Parameters: defaultValue - The default value to be returned Parameters: locale - The locale Parameters: pattern - The convertion pattern |
DecimalLocaleConverter | public DecimalLocaleConverter(Object defaultValue, Locale locale, String pattern, boolean locPattern)(Code) | | Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs.
Parameters: defaultValue - The default value to be returned Parameters: locale - The locale Parameters: pattern - The convertion pattern Parameters: locPattern - Indicate whether the pattern is localized or not |
|
|