public class PropertyConvertUtil extends Object
Constructor and Description |
---|
PropertyConvertUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkValidObject(Object value) |
static boolean |
convertToBoolean(String name,
Object value) |
static byte |
convertToByte(String name,
Object value) |
static double |
convertToDouble(String name,
Object value) |
static float |
convertToFloat(String name,
Object value) |
static int |
convertToInt(String name,
Object value) |
static long |
convertToLong(String name,
Object value) |
static short |
convertToShort(String name,
Object value) |
static String |
convertToString(String name,
Object value) |
protected static String |
createExceptionMessage(String name,
Object value,
String destType) |
public static boolean convertToBoolean(String name, Object value) throws javax.jms.MessageFormatException
javax.jms.MessageFormatException
public static byte convertToByte(String name, Object value) throws javax.jms.MessageFormatException
javax.jms.MessageFormatException
public static short convertToShort(String name, Object value) throws javax.jms.MessageFormatException
javax.jms.MessageFormatException
public static int convertToInt(String name, Object value) throws javax.jms.MessageFormatException
javax.jms.MessageFormatException
public static long convertToLong(String name, Object value) throws javax.jms.MessageFormatException
javax.jms.MessageFormatException
public static float convertToFloat(String name, Object value) throws javax.jms.MessageFormatException
javax.jms.MessageFormatException
public static double convertToDouble(String name, Object value) throws javax.jms.MessageFormatException
javax.jms.MessageFormatException
public static String convertToString(String name, Object value) throws javax.jms.MessageFormatException
javax.jms.MessageFormatException
public static void checkValidObject(Object value) throws javax.jms.MessageFormatException
javax.jms.MessageFormatException
Copyright © 2014. All Rights Reserved.