| org.apache.commons.beanutils.locale.converters.DecimalLocaleConverter org.apache.commons.beanutils.locale.converters.FloatLocaleConverter
Constructor Summary | |
public | FloatLocaleConverter() Create a
org.apache.commons.beanutils.locale.LocaleConverter that will throw a
org.apache.commons.beanutils.ConversionException if a conversion error occurs. | public | FloatLocaleConverter(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 | FloatLocaleConverter(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 | FloatLocaleConverter(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 | FloatLocaleConverter(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 | FloatLocaleConverter(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 | FloatLocaleConverter(Object defaultValue) Create a
org.apache.commons.beanutils.locale.LocaleConverter that will return the specified default value
if a conversion error occurs. | public | FloatLocaleConverter(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 | FloatLocaleConverter(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 | FloatLocaleConverter(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 | FloatLocaleConverter(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 | FloatLocaleConverter(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. |
FloatLocaleConverter | public FloatLocaleConverter(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 |
FloatLocaleConverter | public FloatLocaleConverter(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 |
FloatLocaleConverter | public FloatLocaleConverter(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 |
FloatLocaleConverter | public FloatLocaleConverter(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 |
FloatLocaleConverter | public FloatLocaleConverter(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 |
FloatLocaleConverter | public FloatLocaleConverter(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 |
parse | protected Object parse(Object value, String pattern) throws ParseException(Code) | | Convert the specified locale-sensitive input object into an output object of the
specified type. This method will return Float value or throw exception if value
can not be stored in the Float.
Parameters: value - The input object to be converted Parameters: pattern - The pattern is used for the convertion The converted value exception: ConversionException - if conversion cannot be performedsuccessfully throws: ParseException - if an error occurs parsing a String to a Number |
|
|