com.ibm.team.git.build.hjplugin
Class RtcJsonUtil

java.lang.Object
  extended by com.ibm.team.git.build.hjplugin.RtcJsonUtil

public class RtcJsonUtil
extends Object


Constructor Summary
RtcJsonUtil()
           
 
Method Summary
static String ensureCompatability(net.sf.json.JSON compatibilityCheckResult)
           
static Boolean getBoolean(net.sf.json.JSON json, String fieldName)
           
static net.sf.json.JSONObject getResponseJson(net.sf.json.JSON json)
           
static net.sf.json.JSONObject getResponseJson(String jsonStr)
           
static net.sf.json.JSONObject getResultJson(net.sf.json.JSON json)
           
static net.sf.json.JSONObject getResultJson(String jsonStr)
           
static String getReturnValue(net.sf.json.JSON json)
           
static String getReturnValue(String jsonStr)
           
static String[] getReturnValues(net.sf.json.JSON json)
           
static String getString(net.sf.json.JSON json, String fieldName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtcJsonUtil

public RtcJsonUtil()
Method Detail

getReturnValue

public static String getReturnValue(String jsonStr)

getReturnValue

public static String getReturnValue(net.sf.json.JSON json)

getReturnValues

public static String[] getReturnValues(net.sf.json.JSON json)

getResultJson

public static net.sf.json.JSONObject getResultJson(String jsonStr)

getResultJson

public static net.sf.json.JSONObject getResultJson(net.sf.json.JSON json)

getResponseJson

public static net.sf.json.JSONObject getResponseJson(String jsonStr)

getResponseJson

public static net.sf.json.JSONObject getResponseJson(net.sf.json.JSON json)

getBoolean

public static Boolean getBoolean(net.sf.json.JSON json,
                                 String fieldName)

getString

public static String getString(net.sf.json.JSON json,
                               String fieldName)

ensureCompatability

public static String ensureCompatability(net.sf.json.JSON compatibilityCheckResult)
                                  throws GeneralSecurityException
Throws:
GeneralSecurityException


Copyright © 2004-2014. All Rights Reserved.