All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.ConvertFloat

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

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

Method Index

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

Constructors

 o ConvertFloat
 public ConvertFloat()

Methods

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index