public final class CookieList extends Object
| 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 stringJSONExceptionpublic static String toString(JSONObject o) throws JSONException
o - A JSONObjectJSONExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.