Package fb4java.beans

Examples of fb4java.beans.Comment


      int commentsSize = commentArray.length();
      if (commentsSize > 0) {
          ArrayList<Comment> commentList = new ArrayList<Comment>();
          for (int b = 0; b < commentsSize; b++) {
        JSONObject comment = commentArray.getJSONObject(b);
        Comment co = new Comment();
        co.fromid = comment.getLong("fromid");
        co.time = new Date(comment.getLong("time") * 1000);
        co.message = comment.getString("text");
        co.id = comment.getString("id");
        commentList.add(co);
View Full Code Here


      JSONArray jArray = new JSONArray(output);
      int arrSize = jArray.length();
      for (int a = 0; a < arrSize; a++) {
    JSONObject jObj = jArray.getJSONObject(a);
    Comment comment = new Comment();
    comment.fromid = jObj.getLong("fromid");
    comment.time = new Date(jObj.getLong("time") * 1000);
    comment.message = jObj.getString("text");
    comment.id = jObj.getString("id");
    commentList.add(comment);
View Full Code Here

TOP

Related Classes of fb4java.beans.Comment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.