Uses of Class
org.apache.commons.convert.ConversionException

Uses of ConversionException in org.apache.commons.convert
 

Methods in org.apache.commons.convert that throw ConversionException
 byte[] MiscConverters.BlobToByteArray.convert(Blob obj)
           
 Integer BooleanConverters.BooleanToInteger.convert(Boolean obj)
          Returns 1 if obj is true, or zero if obj is false.
 ByteBuffer MiscConverters.ByteArrayToByteBuffer.convert(byte[] obj)
           
 byte[] MiscConverters.ByteBufferToByteArray.convert(ByteBuffer obj)
           
 Date DateTimeConverters.CalendarToDate.convert(Calendar obj)
           
 Long DateTimeConverters.CalendarToLong.convert(Calendar obj)
          Returns the millisecond value of obj.
 String DateTimeConverters.CalendarToString.convert(Calendar obj)
          Converts obj to a String formatted as DateTimeConverters.CALENDAR_FORMAT.
 Timestamp DateTimeConverters.CalendarToTimestamp.convert(Calendar obj)
           
 String DateTimeConverters.CalendarToString.convert(Calendar obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to a String using the supplied locale, time zone, and format string.
 String MiscConverters.CharsetToString.convert(Charset obj)
           
 String MiscConverters.ClobToString.convert(Clob obj)
           
 Date DateTimeConverters.DateToSqlDate.convert(Date obj)
          Returns obj converted to a java.sql.Date.
 Time DateTimeConverters.DateToSqlTime.convert(Date obj)
           
 String DateTimeConverters.DateToString.convert(Date obj)
          Converts obj to a String formatted as DateTimeConverters.CALENDAR_FORMAT.
 Timestamp DateTimeConverters.DateToTimestamp.convert(Date obj)
          Returns obj converted to a java.sql.Timestamp.
 Date DateTimeConverters.SqlDateToDate.convert(Date obj)
          Returns obj converted to a java.util.Date.
 String DateTimeConverters.SqlDateToString.convert(Date obj)
           
 Timestamp DateTimeConverters.SqlDateToTimestamp.convert(Date obj)
          Returns obj converted to a java.sql.Timestamp.
 Calendar DateTimeConverters.DateToCalendar.convert(Date obj, Locale locale, TimeZone timeZone, String formatString)
           
 String DateTimeConverters.DateToString.convert(Date obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to a String using the supplied locale, time zone, and format string.
 String DateTimeConverters.SqlDateToString.convert(Date obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to a String using the supplied time zone.
 String MiscConverters.DecimalFormatToString.convert(DecimalFormat obj)
           
 String MiscConverters.EnumToString.convert(Enum<?> obj)
           
 String NetConverters.InetAddressToString.convert(InetAddress obj)
           
 Boolean BooleanConverters.IntegerToBoolean.convert(Integer obj)
          Returns true if obj is non-zero, or false if obj is zero.
 BigDecimal NumberConverters.LongToBigDecimal.convert(Long obj)
           
 Calendar DateTimeConverters.LongToCalendar.convert(Long obj)
          Returns obj converted to a Calendar, initialized with the default locale and time zone.
 Date DateTimeConverters.LongToDate.convert(Long obj)
          Returns obj converted to a java.util.Date.
 Date DateTimeConverters.LongToSqlDate.convert(Long obj)
          Returns obj converted to a java.sql.Date.
 Time DateTimeConverters.LongToSqlTime.convert(Long obj)
          Returns obj converted to a java.sql.Time.
 Timestamp DateTimeConverters.LongToTimestamp.convert(Long obj)
          Returns obj converted to a java.sql.Timestamp.
 Calendar DateTimeConverters.LongToCalendar.convert(Long obj, Locale locale, TimeZone timeZone, String formatString)
          Returns obj converted to a Calendar, initialized with the specified locale and time zone.
 String NumberConverters.AbstractNumberToStringConverter.convert(N obj)
           
 BigDecimal NumberConverters.GenericNumberToBigDecimal.convert(N obj)
           
 BigInteger NumberConverters.GenericNumberToBigInteger.convert(N obj)
           
 Byte NumberConverters.GenericNumberToByte.convert(N obj)
           
 Double NumberConverters.GenericNumberToDouble.convert(N obj)
           
 Float NumberConverters.GenericNumberToFloat.convert(N obj)
           
 Integer NumberConverters.GenericNumberToInteger.convert(N obj)
           
 Long NumberConverters.GenericNumberToLong.convert(N obj)
           
 Short NumberConverters.GenericNumberToShort.convert(N obj)
           
 String NumberConverters.AbstractNumberToStringConverter.convert(N obj, Locale locale, TimeZone timeZone, String formatString)
           
protected abstract  N NumberConverters.AbstractStringToNumberConverter.convert(Number number)
           
protected  BigDecimal NumberConverters.StringToBigDecimal.convert(Number number)
           
protected  BigInteger NumberConverters.StringToBigInteger.convert(Number number)
           
protected  Double NumberConverters.StringToDouble.convert(Number number)
           
protected  Float NumberConverters.StringToFloat.convert(Number number)
           
protected  Integer NumberConverters.StringToInteger.convert(Number number)
           
protected  Long NumberConverters.StringToLong.convert(Number number)
           
 String GenericToStringConverter.convert(S obj)
           
 Long DateTimeConverters.GenericDateToLong.convert(S obj)
          Returns the millisecond value of obj.
 T DateTimeConverters.GenericLocalizedConverter.convert(S obj)
           
 T Converters.PassThruConverter.convert(S obj)
           
 T Converter.convert(S obj)
          Converts obj to T.
 String MiscConverters.SimpleDateFormatToString.convert(SimpleDateFormat obj)
           
 T LocalizedConverter.convert(S obj, Locale locale, TimeZone timeZone)
          Converts obj to T.
 T DateTimeConverters.GenericLocalizedConverter.convert(S obj, Locale locale, TimeZone timeZone)
           
 T AbstractLocalizedConverter.convert(S obj, Locale locale, TimeZone timeZone)
           
 T LocalizedConverter.convert(S obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to T.
 BigDecimal NumberConverters.StringToBigDecimal.convert(String obj)
           
 BigInteger NumberConverters.StringToBigInteger.convert(String obj)
           
 Byte NumberConverters.StringToByte.convert(String obj)
           
 Double NumberConverters.StringToDouble.convert(String obj)
           
 Float NumberConverters.StringToFloat.convert(String obj)
           
 Integer NumberConverters.StringToInteger.convert(String obj)
           
 Long NumberConverters.StringToLong.convert(String obj)
           
 Short NumberConverters.StringToShort.convert(String obj)
           
 InetAddress NetConverters.StringToInetAddress.convert(String obj)
           
 URI NetConverters.StringToURI.convert(String obj)
           
 URL NetConverters.StringToURL.convert(String obj)
           
 Charset MiscConverters.StringToCharset.convert(String obj)
           
 DecimalFormat MiscConverters.StringToDecimalFormat.convert(String obj)
           
 Locale MiscConverters.StringToLocale.convert(String obj)
           
 Pattern MiscConverters.StringToRegexPattern.convert(String obj)
           
 SimpleDateFormat MiscConverters.StringToSimpleDateFormat.convert(String obj)
           
 UUID MiscConverters.StringToUUID.convert(String obj)
           
 Calendar DateTimeConverters.StringToCalendar.convert(String obj)
          Converts obj to a java.util.Calendar initialized to the default locale and time zone.
 Date DateTimeConverters.StringToDate.convert(String obj)
          Converts obj to a java.util.Date.
 Date DateTimeConverters.StringToSqlDate.convert(String obj)
           
 Time DateTimeConverters.StringToSqlTime.convert(String obj)
           
 Timestamp DateTimeConverters.StringToTimestamp.convert(String obj)
           
 TimeZone DateTimeConverters.StringToTimeZone.convert(String obj)
           
 Boolean BooleanConverters.StringToBoolean.convert(String obj)
          Returns true if obj equals "true", or false if obj is any other value.
 N NumberConverters.AbstractStringToNumberConverter.convert(String obj, Locale locale, TimeZone timeZone, String formatString)
           
 Calendar DateTimeConverters.StringToCalendar.convert(String obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to a java.util.Calendar initialized to the supplied locale and time zone.
 Date DateTimeConverters.StringToDate.convert(String obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to a java.util.Date.
 Date DateTimeConverters.StringToSqlDate.convert(String obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to a java.sql.Date using the supplied time zone.
 Time DateTimeConverters.StringToSqlTime.convert(String obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to a java.sql.Time using the supplied time zone.
 Timestamp DateTimeConverters.StringToTimestamp.convert(String obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to a java.sql.Timestamp.
 Set<T> GenericSingletonToSet.convert(T obj)
           
 List<T> GenericSingletonToList.convert(T obj)
           
 List<T> CollectionConverters.ArrayToList.convert(T[] obj)
          Returns a List that contains the elements in obj.
 String DateTimeConverters.SqlTimeToString.convert(Time obj)
           
 String DateTimeConverters.SqlTimeToString.convert(Time obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to a String using the supplied time zone.
 Date DateTimeConverters.TimestampToDate.convert(Timestamp obj)
           
 Date DateTimeConverters.TimestampToSqlDate.convert(Timestamp obj)
           
 Time DateTimeConverters.TimestampToSqlTime.convert(Timestamp obj)
           
 String DateTimeConverters.TimestampToString.convert(Timestamp obj)
           
 String DateTimeConverters.TimestampToString.convert(Timestamp obj, Locale locale, TimeZone timeZone, String formatString)
          Converts obj to a String using the supplied time zone.
 String DateTimeConverters.TimeZoneToString.convert(TimeZone obj)
           
 URL NetConverters.URIToURL.convert(URI obj)
           
 URI NetConverters.URLToURI.convert(URL obj)
           
protected  String NumberConverters.BigDecimalToString.format(BigDecimal obj, NumberFormat nf)
           
protected  String NumberConverters.BigIntegerToString.format(BigInteger obj, NumberFormat nf)
           
protected  String NumberConverters.ByteToString.format(Byte obj, NumberFormat nf)
           
protected  String NumberConverters.DoubleToString.format(Double obj, NumberFormat nf)
           
protected  String NumberConverters.FloatToString.format(Float obj, NumberFormat nf)
           
protected  String NumberConverters.IntegerToString.format(Integer obj, NumberFormat nf)
           
protected  String NumberConverters.LongToString.format(Long obj, NumberFormat nf)
           
protected abstract  String NumberConverters.AbstractNumberToStringConverter.format(N obj, NumberFormat nf)
           
protected  String NumberConverters.ShortToString.format(Short obj, NumberFormat nf)
           
protected static Number NumberConverters.fromString(String str, NumberFormat nf)
           
 



Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.