Back to project page Android-VKontakte-SDK.
The source code is released under:
MIT License
If you think the Android project Android-VKontakte-SDK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.perm.kate.api; //from w w w . j av a 2 s . c o m import java.io.Serializable; import org.json.JSONException; import org.json.JSONObject; /** * Wiki page * */ public class Page implements Serializable{ private static final long serialVersionUID = 1L; public long id; public long group_id; public String title; public static Page parseFromAttachment(JSONObject o) throws NumberFormatException, JSONException{ Page page = new Page(); page.title = Api.unescape(o.optString("title")); page.id = o.optLong("id"); page.group_id = o.optLong("group_id"); return page; } }