Uses of Class
org.apache.commons.configuration2.ex.ConversionException
Packages that use ConversionException
Package
Description
This package contains interfaces and classes related to data type conversions.
-
Uses of ConversionException in org.apache.commons.configuration2.convert
Methods in org.apache.commons.configuration2.convert that throw ConversionExceptionModifier and TypeMethodDescriptionstatic ObjectPropertyConverter.to(Class<?> cls, Object value, DefaultConversionHandler convHandler) Converts the specified value object to the given target data class.static BigDecimalPropertyConverter.toBigDecimal(Object value) Converts the specified object into a BigDecimal.static BigIntegerPropertyConverter.toBigInteger(Object value) Converts the specified object into a BigInteger.static BooleanConverts the specified object into a Boolean.static ByteConverts the specified object into a Byte.static CalendarPropertyConverter.toCalendar(Object value, String format) Converts the specified object into a Calendar.static CharacterPropertyConverter.toCharacter(Object value) Converts the specified value object to aCharacter.static ColorConverts the specified object into a Color.static DateConverts the specified object into a Date.static DoubleConverts the specified object into a Double.static DurationPropertyConverter.toDuration(Object value) Converts the specified object into a Duration.(package private) static <E extends Enum<E>>
EConverts the specified value into anEnum.static FileConverts the specified object into a File.static FloatConverts the specified object into a Float.(package private) static InetAddressPropertyConverter.toInetAddress(Object value) Converts the specified value into an internet address.static IntegerConverts the specified object into an Integer.(package private) static ObjectPropertyConverter.toInternetAddress(Object value, String targetClassName) Converts the specified value into an email address with the given class name.static LocaleConverts the specified object into a Locale.static LongConverts the specified object into a Long.(package private) static NumberTries to convert the specified object into a number object.static PathConverts the specified object into a Path.static PatternConverts the specified object into a Pattern.static ShortConverts the specified object into a Short.static URIConverts the specified object into an URI.static URLConverts the specified object into an URL.