java 解析 html

上传者: wssiqi | 上传时间: 2022-05-22 10:00:22 | 文件大小: 655KB | 文件类型: 7Z
java解析网页,可以根据标签的路径获取网页的内容 比如html/body/div/div/

文件下载

资源详情

[{"title":"( 22 个子文件 655KB ) java 解析 html","children":[{"title":"WeatherReport","children":[{"title":"weather.shtml <span style='color:#111;'> 84.49KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"com","children":[{"title":"siqi","children":[{"title":"simplehtmlparser","children":[{"title":"ByteBuffer.class <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"HtmlParser.class <span style='color:#111;'> 6.78KB </span>","children":null,"spread":false},{"title":"WebUtils.class <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"Attribute.class <span style='color:#111;'> 988B </span>","children":null,"spread":false},{"title":"Tag.class <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"TagPath.class <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"samples","children":[{"title":"TestWebPage.class <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"siqi","children":[{"title":"simplehtmlparser","children":[{"title":"TagPath.java <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"Attribute.java <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"ByteBuffer.java <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"WebUtils.java <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"HtmlParser.java <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"Tag.java <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false}],"spread":true},{"title":"samples","children":[{"title":"TestWebPage.java <span style='color:#111;'> 874B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"src.7z <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 496B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"commons-logging-1.1.1.jar <span style='color:#111;'> 59.26KB </span>","children":null,"spread":false},{"title":"httpclient-4.2.2.jar <span style='color:#111;'> 418.31KB </span>","children":null,"spread":false},{"title":"httpcore-4.2.3.jar <span style='color:#111;'> 221.88KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • sl_934910684 :
    怎么获取整个页面的html代码
    2015-06-21
  • morton90 :
    解析html很实用,
    2015-06-05
  • vincent_jianpeng :
    解析个html代码正对
    2015-02-04
  • java1095337263 :
    挺好,但是需要做一些小修改
    2015-01-08
  • hausi :
    可以解析,谢谢分享
    2014-11-21

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明