use of forpdateam.ru.forpda.api.regex.parser.Document in project ForPDA by RadiationX.
the class NewsApi method parseComments.
public Comment parseComments(final SparseArray<Comment.Karma> karmaMap, String source) {
long time = System.currentTimeMillis();
Document document = Parser.parse(source);
Comment comments = new Comment();
recurseComments(karmaMap, document, comments, 0);
return comments;
}