Package | Description |
---|---|
org.apache.commons.beanutils.locale |
Locale-aware extensions of the standard beanutils classes.
|
org.apache.commons.beanutils.locale.converters |
Standard implementations of the locale-aware
LocaleConverter
interface that are pre-registered with locale-aware LocaleConvertUtils
at startup time. |
Modifier and Type | Class and Description |
---|---|
class |
BaseLocaleConverter
The base class for all standart type locale-sensitive converters.
|
Modifier and Type | Method and Description |
---|---|
LocaleConverter |
LocaleConvertUtilsBean.lookup(Class<?> clazz,
Locale locale)
Look up and return any registered
LocaleConverter for the specified
destination class and locale; if there is no registered Converter, return
null . |
static LocaleConverter |
LocaleConvertUtils.lookup(Class<?> clazz,
Locale locale)
Look up and return any registered
LocaleConverter for the specified
destination class and locale; if there is no registered Converter, return
null . |
Modifier and Type | Method and Description |
---|---|
void |
LocaleConvertUtilsBean.register(LocaleConverter converter,
Class<?> clazz,
Locale locale)
Register a custom
LocaleConverter for the specified destination
Class , replacing any previously registered converter. |
static void |
LocaleConvertUtils.register(LocaleConverter converter,
Class<?> clazz,
Locale locale)
Register a custom
LocaleConverter for the specified destination
Class , replacing any previously registered converter. |
Modifier and Type | Class and Description |
---|---|
class |
BigDecimalLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.math.BigDecimal object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
BigIntegerLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.math.BigInteger object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
ByteLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.lang.Byte object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
DateLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.util.Date object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
DecimalLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.lang.Number object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
DoubleLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.lang.Double object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
FloatLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.math.BigDecimal object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
IntegerLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.lang.Integer object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
LongLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.lang.Long object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
ShortLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.lang.Short object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
SqlDateLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.sql.Date object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
SqlTimeLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.sql.Time object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
SqlTimestampLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a java.sql.Timestamp object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
class |
StringLocaleConverter
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive object into a java.lang.String object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs. |
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.