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 o)
Convert a JSONObject into a cookie list.
|
public static JSONObject toJSONObject(String string) throws JSONException
string
- A cookie list stringJSONException
public static String toString(JSONObject o) throws JSONException
o
- A JSONObjectJSONException