| org.apache.commons.beanutils.locale.converters.DecimalLocaleConverter org.apache.commons.beanutils.locale.converters.LongLocaleConverter
Constructor Summary | |
public | LongLocaleConverter() Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will throw a
org.apache.commons.beanutils.ConversionException if a conversion error occurs. | public | LongLocaleConverter(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 | LongLocaleConverter(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 | LongLocaleConverter(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 | LongLocaleConverter(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 | LongLocaleConverter(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 | LongLocaleConverter(Object defaultValue) Create a
org.apache.commons.beanutils.locale.LocaleConverter
that will return the specified default value
if a conversion error occurs. | public | LongLocaleConverter(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 | LongLocaleConverter(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 | LongLocaleConverter(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 | LongLocaleConverter(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 | LongLocaleConverter(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. |
LongLocaleConverter | public LongLocaleConverter(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 |
LongLocaleConverter | public LongLocaleConverter(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 |
LongLocaleConverter | public LongLocaleConverter(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 |
LongLocaleConverter | public LongLocaleConverter(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 |
LongLocaleConverter | public LongLocaleConverter(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 |
LongLocaleConverter | public LongLocaleConverter(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 a Long type.
Parameters: value - The input object to be converted Parameters: pattern - The pattern is used for the convertion The converted value exception: org.apache.commons.beanutils.ConversionException - if conversioncannot be performed successfully throws: ParseException - if an error occurs parsing a String to a Number |
|
|