List of usage examples for org.jsoup.nodes Comment Comment
public Comment(String data)
From source file:org.sostruct.Answer.java
void setComments(JSONArray commentArray) { Comment thisComment = null;//from ww w. j a v a 2s . co m for (int i = 0; i < commentArray.length(); i++) { JSONObject jsonCommentObj = commentArray.getJSONObject(i); thisComment = new Comment(jsonCommentObj); comments.add(thisComment); } }