htmlcleaner

时间:2014-03-19 10:15:45   收藏:0   阅读:480

String xpath = "//div";
Object[] myNodes = node.evaluateXPath(xpath);
for (Object obj : myNodes) {
TagNode node = (TagNode) obj;
// System.out.println(node.getAttributes());
title = node.getText().toString().trim();
}

htmlcleaner,布布扣,bubuko.com

原文:http://www.cnblogs.com/agileblog/p/3610569.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!