public class ObjectConverter
extends java.lang.Object
Constructor and Description |
---|
ObjectConverter() |
Modifier and Type | Method and Description |
---|---|
static boolean |
toBoolean(java.lang.Object obj)
Returns an object converted to a boolean.
|
static byte |
toByte(java.lang.Object obj)
Returns a property as a byte
|
static byte[] |
toBytes(java.lang.Object obj)
Returns a property as a byte[]
|
static char |
toChar(java.lang.Object obj)
Returns a property as a char
|
static double |
toDouble(java.lang.Object obj)
Returns a property as a double
|
static float |
toFloat(java.lang.Object obj)
Returns a property as a float
|
static int |
toInt(java.lang.Object obj)
Returns a property as an integer
|
static long |
toLong(java.lang.Object obj)
Returns a property as a long
|
static short |
toShort(java.lang.Object obj)
Returns a property as a short
|
static java.lang.String |
toString(java.lang.Object obj)
Returns a property as a string
|
public static boolean toBoolean(java.lang.Object obj) throws JMSException
JMSException
public static byte toByte(java.lang.Object obj) throws JMSException
JMSException
public static short toShort(java.lang.Object obj) throws JMSException
JMSException
public static int toInt(java.lang.Object obj) throws JMSException
JMSException
public static long toLong(java.lang.Object obj) throws JMSException
JMSException
public static float toFloat(java.lang.Object obj) throws JMSException
JMSException
public static double toDouble(java.lang.Object obj) throws JMSException
JMSException
public static java.lang.String toString(java.lang.Object obj) throws JMSException
JMSException
public static char toChar(java.lang.Object obj) throws JMSException
JMSException
public static byte[] toBytes(java.lang.Object obj) throws JMSException
JMSException