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) Performs a data type conversion from the specified value object to the given target data class.static BigDecimalPropertyConverter.toBigDecimal(Object value) Convert the specified object into a BigDecimal.static BigIntegerPropertyConverter.toBigInteger(Object value) Convert the specified object into a BigInteger.static BooleanConvert the specified object into a Boolean.static ByteConvert the specified object into a Byte.static CalendarPropertyConverter.toCalendar(Object value, String format) Convert the specified object into a Calendar.static CharacterPropertyConverter.toCharacter(Object value) Converts the specified value object to aCharacter.static ColorConvert the specified object into a Color.static DateConvert the specified object into a Date.static DoubleConvert the specified object into a Double.static DurationPropertyConverter.toDuration(Object value) Convert the specified object into a Duration.static FileConvert the specified object into a File.static FloatConvert the specified object into a Float.static IntegerConvert the specified object into an Integer.static LocaleConvert the specified object into a Locale.static LongConvert the specified object into a Long.static PathConvert the specified object into a Path.static PatternConvert the specified object into a Pattern.static ShortConvert the specified object into a Short.static URIConvert the specified object into an URI.static URLConvert the specified object into an URL.