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 Object
PropertyConverter.to
(Class<?> cls, Object value, DefaultConversionHandler convHandler) Performs a data type conversion from the specified value object to the given target data class.static BigDecimal
PropertyConverter.toBigDecimal
(Object value) Convert the specified object into a BigDecimal.static BigInteger
PropertyConverter.toBigInteger
(Object value) Convert the specified object into a BigInteger.static Boolean
Convert the specified object into a Boolean.static Byte
Convert the specified object into a Byte.static Calendar
PropertyConverter.toCalendar
(Object value, String format) Convert the specified object into a Calendar.static Character
PropertyConverter.toCharacter
(Object value) Converts the specified value object to aCharacter
.static Color
Convert the specified object into a Color.static Date
Convert the specified object into a Date.static Double
Convert the specified object into a Double.static Duration
PropertyConverter.toDuration
(Object value) Convert the specified object into a Duration.(package private) static <E extends Enum<E>>
EConvert the specified value into a Java 5 enum.static File
Convert the specified object into a File.static Float
Convert the specified object into a Float.(package private) static InetAddress
PropertyConverter.toInetAddress
(Object value) Convert the specified value into an internet address.static Integer
Convert the specified object into an Integer.(package private) static Object
PropertyConverter.toInternetAddress
(Object value, String targetClassName) Convert the specified value into an email address with the given class name.static Locale
Convert the specified object into a Locale.static Long
Convert the specified object into a Long.(package private) static Number
Tries to convert the specified object into a number object.static Path
Convert the specified object into a Path.static Pattern
Convert the specified object into a Pattern.static Short
Convert the specified object into a Short.static URI
Convert the specified object into an URI.static URL
Convert the specified object into an URL.