??xml version="1.0" encoding="utf-8" standalone="yes"?>北岛玲一区二区三区,日韩伦理一区,欧美女优在线http://www.aygfsteel.com/naxsu/archive/2013/05/03/398762.html领悟书生领悟书生Fri, 03 May 2013 14:10:00 GMThttp://www.aygfsteel.com/naxsu/archive/2013/05/03/398762.htmlhttp://www.aygfsteel.com/naxsu/comments/398762.htmlhttp://www.aygfsteel.com/naxsu/archive/2013/05/03/398762.html#Feedback0http://www.aygfsteel.com/naxsu/comments/commentRss/398762.htmlhttp://www.aygfsteel.com/naxsu/services/trackbacks/398762.html阅读全文
]]>- Lucene学习W记?013-04-12更新?/title>http://www.aygfsteel.com/naxsu/archive/2013/04/13/lucene.html领悟书生领悟书生Sat, 13 Apr 2013 02:14:00 GMThttp://www.aygfsteel.com/naxsu/archive/2013/04/13/lucene.htmlhttp://www.aygfsteel.com/naxsu/comments/397781.htmlhttp://www.aygfsteel.com/naxsu/archive/2013/04/13/lucene.html#Feedback0http://www.aygfsteel.com/naxsu/comments/commentRss/397781.htmlhttp://www.aygfsteel.com/naxsu/services/trackbacks/397781.html阅读全文

]]> - 我的博客也用上lucene?/title>http://www.aygfsteel.com/naxsu/archive/2013/03/12/396339.html领悟书生领悟书生Tue, 12 Mar 2013 10:48:00 GMThttp://www.aygfsteel.com/naxsu/archive/2013/03/12/396339.htmlhttp://www.aygfsteel.com/naxsu/comments/396339.htmlhttp://www.aygfsteel.com/naxsu/archive/2013/03/12/396339.html#Feedback1http://www.aygfsteel.com/naxsu/comments/commentRss/396339.htmlhttp://www.aygfsteel.com/naxsu/services/trackbacks/396339.html个h博客今天开始用lucene了,之前都是用百度搜索来做站内搜索。虽然评分、排序做得不怎么P但学了新东西q运用到目中去Q个人感觉相当的爽,邀请各位访问体验,最好是提一些徏?/p>
http://www.656463.com/search/?word=MongoDB

]]> - q样的面试题Q你能回{几?/title>http://www.aygfsteel.com/naxsu/archive/2013/02/28/395836.html领悟书生领悟书生Thu, 28 Feb 2013 03:34:00 GMThttp://www.aygfsteel.com/naxsu/archive/2013/02/28/395836.htmlhttp://www.aygfsteel.com/naxsu/comments/395836.htmlhttp://www.aygfsteel.com/naxsu/archive/2013/02/28/395836.html#Feedback0http://www.aygfsteel.com/naxsu/comments/commentRss/395836.htmlhttp://www.aygfsteel.com/naxsu/services/trackbacks/395836.html
1 ,了解hbase么,Z么存储速度快?
2理解spring么,它的AOP实现是基于什么原理,bean的初始化q程是那些(涉及具体的源代码Q?在bean factory初始化前 Q运行中Q初始化后想做些事情。该怎么做?
3 struts1和strus2的区别,strust2关于 ThredLocal是什么,strus2初始化部分的原理是什么?
4多线E用q么Q?
5关于jvmQ它是什么样的结构?Q他的Gc法是什么,什么情况下?out of memory?
6设计模式了解多少Q工厂模式中的抽象工厂和单工厂模式用于那些场景,你怎么理解{略模式Q怎样应用的? {略模式和状态模式的本质区别Q状态模式和命o模式的区别?
7 q接池原理,q接池commit 后连接是否关闭?
java在线视频Q点?a title="JAVA在线视频">q里观看Q天天更?br />

]]> - 获取文章中的囄http://www.aygfsteel.com/naxsu/archive/2013/01/30/394905.html领悟书生领悟书生Wed, 30 Jan 2013 01:50:00 GMThttp://www.aygfsteel.com/naxsu/archive/2013/01/30/394905.htmlhttp://www.aygfsteel.com/naxsu/comments/394905.htmlhttp://www.aygfsteel.com/naxsu/archive/2013/01/30/394905.html#Feedback1http://www.aygfsteel.com/naxsu/comments/commentRss/394905.htmlhttp://www.aygfsteel.com/naxsu/services/trackbacks/394905.html瀑布的功能开发完了,感觉q不错,地址是:http://www.656463.com/waterfall,其中也有一些知识点Q和大家分n一下。既然是瀑布,׃涉及到图片,在这里我是获?/span>本站文章中的囄Q所以本节就?strong>用jsoup获取文章中的囄
jsoup单介l?/strong>
jsoup 是一ƾJava 的HTML解析器,可直接解析某个URL地址、HTML文本内容。它提供了一套非常省力的APIQ可通过DOMQCSS以及cM于jQuery的操作方法来取出和操作数据?/span>
使用jsoup很简单,是下蝲jar包,然后p用里面的APIq行解析?/span>
中文地址是:http://www.open-open.com/jsoup/
下蝲jsoup地址Q?/span>http://jsoup.org/download,最新版是jsoup-1.7.2.jar
获取文章囄
获取文章的图片,是用jsoup在文章内定w解析出文章\?/span>
- List<String> imgs = JsoupUtil.getImgSrc(article.getContent());
解析工具c?/span>
- /**
- * 解释HTML获取囄列表
- * @param html HTML内容
- * @return 囄列表
- */
- public static List<String> getImgSrc(String html){
- List<String> imgSrcs= new ArrayList<String>();
-
- Document doc = Jsoup.parse(html);
- Elements imgs = doc.getElementsByTag("img");
- for (Element img : imgs) {
- String imgSrc = img.attr("src");
- if(imgSrc!=null && imgSrc.trim().length()>0){
- imgSrcs.add(imgSrc);
- }
- }
-
- return imgSrcs;
- }
单吧Q就q样?/span>
本文链接Q?a target="_blank" title="用jsoup获取文章中的囄-瀑布系列文? style="color: #333333;">用jsoup获取文章中的囄-瀑布系列文?/a>Q由领悟书生原创
转蝲h明出处【http://www.656463.com/article/348?/p>
]]>- 写了个瀑布,感觉q不?/title>http://www.aygfsteel.com/naxsu/archive/2013/01/28/394832.html领悟书生领悟书生Mon, 28 Jan 2013 06:16:00 GMThttp://www.aygfsteel.com/naxsu/archive/2013/01/28/394832.htmlhttp://www.aygfsteel.com/naxsu/comments/394832.htmlhttp://www.aygfsteel.com/naxsu/archive/2013/01/28/394832.html#Feedback3http://www.aygfsteel.com/naxsu/comments/commentRss/394832.htmlhttp://www.aygfsteel.com/naxsu/services/trackbacks/394832.html
昨天写了个瀑布,后台直接是springmvcq回json到页面,然后用JS处理,讉K地址Q?a title="瀑布? target="_blank">http://www.656463.com/waterfall
效果如下Q?/p>

]]> - java cms 在线安装原理及详l步?/title>http://www.aygfsteel.com/naxsu/archive/2013/01/26/394798.html领悟书生领悟书生Sat, 26 Jan 2013 05:12:00 GMThttp://www.aygfsteel.com/naxsu/archive/2013/01/26/394798.htmlhttp://www.aygfsteel.com/naxsu/comments/394798.htmlhttp://www.aygfsteel.com/naxsu/archive/2013/01/26/394798.html#Feedback0http://www.aygfsteel.com/naxsu/comments/commentRss/394798.htmlhttp://www.aygfsteel.com/naxsu/services/trackbacks/394798.html阅读全文

]]> - 预览文章: HTML5 视频播放事g属性与API控ghttp://www.aygfsteel.com/naxsu/archive/2013/01/17/394338.html领悟书生领悟书生Thu, 17 Jan 2013 02:05:00 GMThttp://www.aygfsteel.com/naxsu/archive/2013/01/17/394338.htmlhttp://www.aygfsteel.com/naxsu/comments/394338.htmlhttp://www.aygfsteel.com/naxsu/archive/2013/01/17/394338.html#Feedback0http://www.aygfsteel.com/naxsu/comments/commentRss/394338.htmlhttp://www.aygfsteel.com/naxsu/services/trackbacks/394338.html阅读全文

]]> - HTML5 入门文章目录汇?/title>http://www.aygfsteel.com/naxsu/archive/2013/01/14/394178.html领悟书生领悟书生Mon, 14 Jan 2013 02:57:00 GMThttp://www.aygfsteel.com/naxsu/archive/2013/01/14/394178.htmlhttp://www.aygfsteel.com/naxsu/comments/394178.htmlhttp://www.aygfsteel.com/naxsu/archive/2013/01/14/394178.html#Feedback0http://www.aygfsteel.com/naxsu/comments/commentRss/394178.htmlhttp://www.aygfsteel.com/naxsu/services/trackbacks/394178.html阅读全文

]]> - HTML5标签与HTML4标签区别http://www.aygfsteel.com/naxsu/archive/2013/01/14/394176.html领悟书生领悟书生Mon, 14 Jan 2013 02:32:00 GMThttp://www.aygfsteel.com/naxsu/archive/2013/01/14/394176.htmlhttp://www.aygfsteel.com/naxsu/comments/394176.htmlhttp://www.aygfsteel.com/naxsu/archive/2013/01/14/394176.html#Feedback1http://www.aygfsteel.com/naxsu/comments/commentRss/394176.htmlhttp://www.aygfsteel.com/naxsu/services/trackbacks/394176.html阅读全文

]]>
վ֩ģ壺
|
ɾ|
|
|
ͬ|
ͭϿ|
ԭ|
ƽ|
Ƥ|
|
Ϫ|
|
ƽ|
ɳ|
Ȫ|
ɽ|
Ĭ|
ľ|
|
ɽ|
|
|
|
|
|
ͺ|
Ľ|
û|
ȫ|
|
|
ǭ|
|
|
ԭ|
|
|
ƽ|
˶|
Ͷ|
ű|