All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.ConvertLong

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

public class ConvertLong
extends Object
Converts from longs 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 ConvertLong()

Method Index

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

Constructors

 o ConvertLong
 public ConvertLong()

Methods

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index