文件名称:htmlparser1_5_20050614
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:4.15mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
手动解析HTML是一件很崩溃的事情,sun的swing里也有解析HTML的东东,不过已经是古董了,实在不好拿出来丢Java的人了。-private void extractLinks(URL pageURL, Parser parser) {
Map<String, String> links = new HashMap<String, String>()
try {
NodeFilter filter = new NodeClassFilter(LinkTag.class)
NodeList list = parser.extractAllNodesThatMatch(filter)
for (int i = 0 i < list.size() i++) {
LinkTag n = (LinkTag) list.elementAt(i)
Map<String, String> links = new HashMap<String, String>()
try {
NodeFilter filter = new NodeClassFilter(LinkTag.class)
NodeList list = parser.extractAllNodesThatMatch(filter)
for (int i = 0 i < list.size() i++) {
LinkTag n = (LinkTag) list.elementAt(i)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
htmlparser1_5/
htmlparser1_5/bin/
htmlparser1_5/bin/beanybaby
htmlparser1_5/bin/beanybaby.cmd
htmlparser1_5/bin/filterbuilder
htmlparser1_5/bin/filterbuilder.cmd
htmlparser1_5/bin/lexer
htmlparser1_5/bin/lexer.cmd
htmlparser1_5/bin/linkextractor
htmlparser1_5/bin/linkextractor.cmd
htmlparser1_5/bin/parser
htmlparser1_5/bin/parser.cmd
htmlparser1_5/bin/sitecapturer
htmlparser1_5/bin/sitecapturer.cmd
htmlparser1_5/bin/stringextractor
htmlparser1_5/bin/stringextractor.cmd
htmlparser1_5/bin/thumbelina
htmlparser1_5/bin/thumbelina.cmd
htmlparser1_5/bin/translate
htmlparser1_5/bin/translate.cmd
htmlparser1_5/docs/
htmlparser1_5/docs/articles/
htmlparser1_5/docs/javadoc/
htmlparser1_5/docs/javadoc/doc-files/
htmlparser1_5/docs/javadoc/org/
htmlparser1_5/docs/javadoc/org/htmlparser/
htmlparser1_5/docs/javadoc/org/htmlparser/beans/
htmlparser1_5/docs/javadoc/org/htmlparser/beans/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/filters/
htmlparser1_5/docs/javadoc/org/htmlparser/filters/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/http/
htmlparser1_5/docs/javadoc/org/htmlparser/http/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/lexer/
htmlparser1_5/docs/javadoc/org/htmlparser/lexer/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/lexerapplications/
htmlparser1_5/docs/javadoc/org/htmlparser/lexerapplications/tabby/
htmlparser1_5/docs/javadoc/org/htmlparser/lexerapplications/tabby/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/lexerapplications/thumbelina/
htmlparser1_5/docs/javadoc/org/htmlparser/lexerapplications/thumbelina/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/nodeDecorators/
htmlparser1_5/docs/javadoc/org/htmlparser/nodeDecorators/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/nodes/
htmlparser1_5/docs/javadoc/org/htmlparser/nodes/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/layouts/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/layouts/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/wrappers/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/wrappers/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/sax/
htmlparser1_5/docs/javadoc/org/htmlparser/sax/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/scanners/
htmlparser1_5/docs/javadoc/org/htmlparser/scanners/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/tags/
htmlparser1_5/docs/javadoc/org/htmlparser/tags/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/util/
htmlparser1_5/docs/javadoc/org/htmlparser/util/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/util/sort/
htmlparser1_5/docs/javadoc/org/htmlparser/util/sort/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/visitors/
htmlparser1_5/docs/javadoc/org/htmlparser/visitors/class-use/
htmlparser1_5/docs/javadoc/resources/
htmlparser1_5/docs/pics/
htmlparser1_5/docs/wiki/
htmlparser1_5/docs/wiki/index.php/
htmlparser1_5/docs/wiki/themes/
htmlparser1_5/docs/wiki/themes/MacOSX/
htmlparser1_5/docs/wiki/themes/MacOSX/buttons/
htmlparser1_5/docs/wiki/themes/MacOSX/buttons/en/
htmlparser1_5/docs/wiki/themes/MacOSX/images/
htmlparser1_5/docs/wiki/themes/default/
htmlparser1_5/docs/wiki/themes/default/buttons/
htmlparser1_5/docs/articles/index.html
htmlparser1_5/docs/articles/quest.html
htmlparser1_5/docs/bug.html
htmlparser1_5/docs/changes.txt
htmlparser1_5/docs/contributors.html
htmlparser1_5/docs/htmlparser.jpg
htmlparser1_5/docs/htmlparserlogo.jpg
htmlparser1_5/docs/index.html
htmlparser1_5/docs/javadoc/allclasses-frame.html
htmlparser1_5/docs/javadoc/allclasses-noframe.html
htmlparser1_5/docs/javadoc/constant-values.html
htmlparser1_5/docs/javadoc/deprecated-list.html
htmlparser1_5/docs/javadoc/doc-files/building.html
htmlparser1_5/docs/javadoc/doc-files/overview.html
htmlparser1_5/docs/javadoc/doc-files/using.html
htmlparser1_5/docs/javadoc/help-doc.html
htmlparser1_5/docs/javadoc/index-all.html
htmlparser1_5/docs/javadoc/index.html
htmlparser1_5/docs/javadoc/org/htmlparser/Attribute.html
htmlparser1_5/docs/javadoc/org/htmlparser/Node.html
htmlparser1_5/docs/javadoc/org/htmlparser/NodeFactory.html
htmlparser1_5/docs/javadoc/org/htmlparser/NodeFilter.html
htmlparser1_5/docs/javadoc/org/htmlparser/Parser.html
htmlparser1_5/docs/javadoc/org/htmlparser/PrototypicalNodeFactory.html
htmlparser1_5/docs/javadoc/org/htmlparser/Remark.html
htmlparser1_5/docs/javadoc/org/htmlparser/StringNodeFactory.html
htmlparser1_5/docs/javadoc/org/htmlparser/Tag.html
htmlparser1_5/docs/javadoc/org/htmlparser/Text.html
htmlparser1_5/docs/javadoc/org/htmlparser/beans/BeanyBaby.html
htmlparser1_5/docs/javadoc/org/htmlparser/beans/FilterBean.html
htmlparser1_5/docs/javadoc/org/htmlparser/beans/HTMLLinkBean.html
htmlpa
htmlparser1_5/bin/
htmlparser1_5/bin/beanybaby
htmlparser1_5/bin/beanybaby.cmd
htmlparser1_5/bin/filterbuilder
htmlparser1_5/bin/filterbuilder.cmd
htmlparser1_5/bin/lexer
htmlparser1_5/bin/lexer.cmd
htmlparser1_5/bin/linkextractor
htmlparser1_5/bin/linkextractor.cmd
htmlparser1_5/bin/parser
htmlparser1_5/bin/parser.cmd
htmlparser1_5/bin/sitecapturer
htmlparser1_5/bin/sitecapturer.cmd
htmlparser1_5/bin/stringextractor
htmlparser1_5/bin/stringextractor.cmd
htmlparser1_5/bin/thumbelina
htmlparser1_5/bin/thumbelina.cmd
htmlparser1_5/bin/translate
htmlparser1_5/bin/translate.cmd
htmlparser1_5/docs/
htmlparser1_5/docs/articles/
htmlparser1_5/docs/javadoc/
htmlparser1_5/docs/javadoc/doc-files/
htmlparser1_5/docs/javadoc/org/
htmlparser1_5/docs/javadoc/org/htmlparser/
htmlparser1_5/docs/javadoc/org/htmlparser/beans/
htmlparser1_5/docs/javadoc/org/htmlparser/beans/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/filters/
htmlparser1_5/docs/javadoc/org/htmlparser/filters/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/http/
htmlparser1_5/docs/javadoc/org/htmlparser/http/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/lexer/
htmlparser1_5/docs/javadoc/org/htmlparser/lexer/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/lexerapplications/
htmlparser1_5/docs/javadoc/org/htmlparser/lexerapplications/tabby/
htmlparser1_5/docs/javadoc/org/htmlparser/lexerapplications/tabby/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/lexerapplications/thumbelina/
htmlparser1_5/docs/javadoc/org/htmlparser/lexerapplications/thumbelina/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/nodeDecorators/
htmlparser1_5/docs/javadoc/org/htmlparser/nodeDecorators/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/nodes/
htmlparser1_5/docs/javadoc/org/htmlparser/nodes/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/layouts/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/layouts/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/wrappers/
htmlparser1_5/docs/javadoc/org/htmlparser/parserapplications/filterbuilder/wrappers/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/sax/
htmlparser1_5/docs/javadoc/org/htmlparser/sax/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/scanners/
htmlparser1_5/docs/javadoc/org/htmlparser/scanners/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/tags/
htmlparser1_5/docs/javadoc/org/htmlparser/tags/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/util/
htmlparser1_5/docs/javadoc/org/htmlparser/util/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/util/sort/
htmlparser1_5/docs/javadoc/org/htmlparser/util/sort/class-use/
htmlparser1_5/docs/javadoc/org/htmlparser/visitors/
htmlparser1_5/docs/javadoc/org/htmlparser/visitors/class-use/
htmlparser1_5/docs/javadoc/resources/
htmlparser1_5/docs/pics/
htmlparser1_5/docs/wiki/
htmlparser1_5/docs/wiki/index.php/
htmlparser1_5/docs/wiki/themes/
htmlparser1_5/docs/wiki/themes/MacOSX/
htmlparser1_5/docs/wiki/themes/MacOSX/buttons/
htmlparser1_5/docs/wiki/themes/MacOSX/buttons/en/
htmlparser1_5/docs/wiki/themes/MacOSX/images/
htmlparser1_5/docs/wiki/themes/default/
htmlparser1_5/docs/wiki/themes/default/buttons/
htmlparser1_5/docs/articles/index.html
htmlparser1_5/docs/articles/quest.html
htmlparser1_5/docs/bug.html
htmlparser1_5/docs/changes.txt
htmlparser1_5/docs/contributors.html
htmlparser1_5/docs/htmlparser.jpg
htmlparser1_5/docs/htmlparserlogo.jpg
htmlparser1_5/docs/index.html
htmlparser1_5/docs/javadoc/allclasses-frame.html
htmlparser1_5/docs/javadoc/allclasses-noframe.html
htmlparser1_5/docs/javadoc/constant-values.html
htmlparser1_5/docs/javadoc/deprecated-list.html
htmlparser1_5/docs/javadoc/doc-files/building.html
htmlparser1_5/docs/javadoc/doc-files/overview.html
htmlparser1_5/docs/javadoc/doc-files/using.html
htmlparser1_5/docs/javadoc/help-doc.html
htmlparser1_5/docs/javadoc/index-all.html
htmlparser1_5/docs/javadoc/index.html
htmlparser1_5/docs/javadoc/org/htmlparser/Attribute.html
htmlparser1_5/docs/javadoc/org/htmlparser/Node.html
htmlparser1_5/docs/javadoc/org/htmlparser/NodeFactory.html
htmlparser1_5/docs/javadoc/org/htmlparser/NodeFilter.html
htmlparser1_5/docs/javadoc/org/htmlparser/Parser.html
htmlparser1_5/docs/javadoc/org/htmlparser/PrototypicalNodeFactory.html
htmlparser1_5/docs/javadoc/org/htmlparser/Remark.html
htmlparser1_5/docs/javadoc/org/htmlparser/StringNodeFactory.html
htmlparser1_5/docs/javadoc/org/htmlparser/Tag.html
htmlparser1_5/docs/javadoc/org/htmlparser/Text.html
htmlparser1_5/docs/javadoc/org/htmlparser/beans/BeanyBaby.html
htmlparser1_5/docs/javadoc/org/htmlparser/beans/FilterBean.html
htmlparser1_5/docs/javadoc/org/htmlparser/beans/HTMLLinkBean.html
htmlpa
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.