Class CommonUtil

java.lang.Object
de.fraunhofer.iese.mydata.pep.common.CommonUtil

public class CommonUtil extends Object
  • Method Details

    • getFromStringOrJsonPrimitive

      public static String getFromStringOrJsonPrimitive(Object input)
      Only String or JsonPrimitive are allowed, else throws IllegalArgumentException("Only Strings allowed")
      Parameters:
      input -
      Returns:
    • getIntegerFromObject

      public static Integer getIntegerFromObject(Object input)
      Only String or JsonPrimitive are allowed, else throws IllegalArgumentException("Only Strings allowed")
      Parameters:
      input -
      Returns:
    • getbooleanFromObject

      public static boolean getbooleanFromObject(Object o)
    • fixStringObject

      public static String fixStringObject(Object o)