All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.ConvertInteger

java.lang.Object
   |
   +----org.xmlmiddleware.conversions.ConvertInteger

public class ConvertInteger
extends Object
Converts from integers to other data types.

The following rules from the ODBC specification are followed; the JDBC specification does not address these in spite of allowing the conversions they apply to:

To convert to/from String, use an implementation of the StringFormatter interface.

Version:
2.0
Author:
Ronald Bourret, 2001

Constructor Index

 o ConvertInteger()

Method Index

 o toBigDecimal(int)
 o toBigDecimal(Integer)
 o toBoolean(int)
 o toBoolean(Integer)
 o toBooleanObject(int)
 o toBooleanObject(Integer)
 o toByte(int)
 o toByte(Integer)
 o toByteObject(int)
 o toByteObject(Integer)
 o toDouble(int)
 o toDouble(Integer)
 o toDoubleObject(int)
 o toDoubleObject(Integer)
 o toFloat(int)
 o toFloat(Integer)
 o toFloatObject(int)
 o toFloatObject(Integer)
 o toInteger(int)
 o toInteger(Integer)
 o toIntegerObject(int)
 o toIntegerObject(Integer)
 o toLong(int)
 o toLong(Integer)
 o toLongObject(int)
 o toLongObject(Integer)
 o toShort(int)
 o toShort(Integer)
 o toShortObject(int)
 o toShortObject(Integer)

Constructors

 o ConvertInteger
 public ConvertInteger()

Methods

 o toDouble
 public static double toDouble(int i)
 o toDouble
 public static double toDouble(Integer i)
 o toDoubleObject
 public static Double toDoubleObject(int i)
 o toDoubleObject
 public static Double toDoubleObject(Integer i)
 o toFloat
 public static float toFloat(int i)
 o toFloat
 public static float toFloat(Integer i)
 o toFloatObject
 public static Float toFloatObject(int i)
 o toFloatObject
 public static Float toFloatObject(Integer i)
 o toBigDecimal
 public static BigDecimal toBigDecimal(int i)
 o toBigDecimal
 public static BigDecimal toBigDecimal(Integer i)
 o toLong
 public static long toLong(int i)
 o toLong
 public static long toLong(Integer i)
 o toLongObject
 public static Long toLongObject(int i)
 o toLongObject
 public static Long toLongObject(Integer i)
 o toInteger
 public static int toInteger(int i)
 o toInteger
 public static int toInteger(Integer i)
 o toIntegerObject
 public static Integer toIntegerObject(int i)
 o toIntegerObject
 public static Integer toIntegerObject(Integer i)
 o toShort
 public static short toShort(int i) throws XMLMiddlewareException
 o toShort
 public static short toShort(Integer i) throws XMLMiddlewareException
 o toShortObject
 public static Short toShortObject(int i) throws XMLMiddlewareException
 o toShortObject
 public static Short toShortObject(Integer i) throws XMLMiddlewareException
 o toByte
 public static byte toByte(int i) throws XMLMiddlewareException
 o toByte
 public static byte toByte(Integer i) throws XMLMiddlewareException
 o toByteObject
 public static Byte toByteObject(int i) throws XMLMiddlewareException
 o toByteObject
 public static Byte toByteObject(Integer i) throws XMLMiddlewareException
 o toBoolean
 public static boolean toBoolean(int i) throws XMLMiddlewareException
 o toBoolean
 public static boolean toBoolean(Integer i) throws XMLMiddlewareException
 o toBooleanObject
 public static Boolean toBooleanObject(int i) throws XMLMiddlewareException
 o toBooleanObject
 public static Boolean toBooleanObject(Integer i) throws XMLMiddlewareException

All Packages  Class Hierarchy  This Package  Previous  Next  Index