replies.add(fetchRecordInRSSReplyObject(resultSet));
}
}
private RSSReply fetchRecordInRSSReplyObject(ResultSet record) throws SQLException {
RSSReply reply = new RSSReply();
reply.setReplyID(record.getInt("CommentID"));
reply.setContent(record.getString("Comment"));
reply.setCreationDate(FormatterUtil.stringToDate(record.getString("CreationDate")));
reply.setUserName(record.getString("UserName"));
reply.setUserEmail(record.getString("UserEmail"));
reply.setUserHomePage(record.getString("UserHomePage"));
reply.setTitle(record.getString("Title"));
return reply;
}