public class CookieList extends Object
Constructor and Description |
---|
CookieList() |
Modifier and Type | Method and Description |
---|---|
static JSONObject |
toJSONObject(String string)
Convert a cookie list into a JSONObject.
|
static String |
toString(JSONObject jo)
Convert a JSONObject into a cookie list.
|
public static JSONObject toJSONObject(String string) throws JSONException
string
- A cookie list stringJSONException
- if a called function failspublic static String toString(JSONObject jo) throws JSONException
jo
- A JSONObjectJSONException
- if a called function fails