Search in sources :

Example 1 with Document

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;
}
Also used : Comment(forpdateam.ru.forpda.api.news.models.Comment) Document(forpdateam.ru.forpda.api.regex.parser.Document)

Aggregations

Comment (forpdateam.ru.forpda.api.news.models.Comment)1 Document (forpdateam.ru.forpda.api.regex.parser.Document)1