com.jayway.jsonpath.internal
Class ConvertUtils
java.lang.Object
com.jayway.jsonpath.internal.ConvertUtils
public class ConvertUtils
- extends Object
- Author:
- Kalle Stenflo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertUtils
public ConvertUtils()
toInt
public static Integer toInt(Object o)
- converts to Integer with radix 10
- Parameters:
o - object to convert
- Returns:
- converted value
toLong
public static Long toLong(Object o)
- converts to Long with radix 10
- Parameters:
o - object to convert
- Returns:
- converted value
toDouble
public static Double toDouble(Object o)
- converts to Double with radix 10
- Parameters:
o - object to convert
- Returns:
- converted value
toString
public static String toString(Object o)
Copyright © 2011-2012. All Rights Reserved.