摘要:
myParser = Parser.createParser(response, "utf-8");NodeFilter tableFilter = new NodeClassFilter(Div.class);OrFilter lastFilter = new OrFilter();lastFilter.setPredicates(new NodeFilter[] { tableFilter });try {// 获取标签为div的节点列表nodeList = myParser.parse(lastFilter);// 循环读取每个divfor (int i = 0; i 阅读全文