Class WebserviceParameterUtils

java.lang.Object
com.batch.android.WebserviceParameterUtils

public class WebserviceParameterUtils extends Object
Utility class to easily get webservice parameters
  • Constructor Details

    • WebserviceParameterUtils

      public WebserviceParameterUtils()
  • Method Details

    • getWebserviceIdsAsMap

      public static Map<String,Object> getWebserviceIdsAsMap(Context context)
      Get webservice ids parameters as map
      Parameters:
      context - context
      Returns:
      A Map of parameters to attach in a webservice
    • getWebserviceIdsAsJson

      public static JSONObject getWebserviceIdsAsJson(Context context)
      Get webservice ids parameters as json object
      Parameters:
      context - context
      Returns:
      A JSONObject of parameters to attach in a webservice