All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.ConvertShort

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

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

Method Index

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

Constructors

 o ConvertShort
 public ConvertShort()

Methods

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index