public class CommonUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
fixStringObject(Object o) |
static boolean |
getbooleanFromObject(Object o) |
static String |
getFromStringOrJsonPrimitive(Object input)
Only String or JsonPrimitive are allowed, else throws
IllegalArgumentException("Only Strings allowed")
|
static Integer |
getIntegerFromObject(Object input)
Only String or JsonPrimitive are allowed, else throws
IllegalArgumentException("Only Strings allowed")
|
public static String getFromStringOrJsonPrimitive(Object input)
input - public static Integer getIntegerFromObject(Object input)
input - public static boolean getbooleanFromObject(Object o)
Copyright © 2018. All rights reserved.