All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.ConvertByte

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

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

Method Index

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

Constructors

 o ConvertByte
 public ConvertByte()

Methods

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index