<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_pual.k3</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/54728/rss</id><updated>2009-04-15T10:01:58Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/54728/rss"/><entry><id>http://www.cnblogs.com/pual/archive/2009/04/15/1436637.html</id><title type="text">ChildDadFeed.java(设计模式)</title><summary type="text">package Observer;import java.util.ArrayList;import java.util.List;//import java.lang.Exception;//事件类，用来响应事件class WakenUpEvent{ private long time; private String loc; private Child source;// 发出这件事的源对象 ...</summary><published>2009-04-15T10:02:00Z</published><updated>2009-04-15T10:02:00Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><link rel="alternate" href="http://www.cnblogs.com/pual/archive/2009/04/15/1436637.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/archive/2009/04/15/1436637.html"/></entry><entry><id>http://www.cnblogs.com/pual/archive/2009/04/10/1433215.html</id><title type="text">java 网络学习</title><summary type="text">Java从网络上获取资源的步骤一般如下：首先，生成URL对象；然后，用Java中相应的方法去获取对象中所代表的资源；最后，可以使用相应的方法对该资源进行相应的操作。下面是几个常用的Java获取网络资源的例子：1. Java从网络上获取图片：Java Applet可以直接从网络上结点获取图象并显示出来。有两种格式，举例如下：格式一：import java.net.MalformedURLExcept...</summary><published>2009-04-10T08:42:00Z</published><updated>2009-04-10T08:42:00Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><link rel="alternate" href="http://www.cnblogs.com/pual/archive/2009/04/10/1433215.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/archive/2009/04/10/1433215.html"/></entry><entry><id>http://www.cnblogs.com/pual/archive/2009/04/08/1431588.html</id><title type="text">wait vs sleep</title><summary type="text">wait（object对象方法）时别的线程可以访问锁定对象*调用wait方法时必须锁定该对象Sleep（String对象方法）时别的线程不能访问锁定对象</summary><published>2009-04-08T04:40:00Z</published><updated>2009-04-08T04:40:00Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><link rel="alternate" href="http://www.cnblogs.com/pual/archive/2009/04/08/1431588.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/archive/2009/04/08/1431588.html"/></entry><entry><id>http://www.cnblogs.com/pual/archive/2009/04/03/1428825.html</id><title type="text">java常见错误和解决办法</title><summary type="text">java常见错误以及可能原因集锦 2008-07-08 15:550、 需要标识符 a) 不在函数内 1、 非法表达式开始 b) 可能:丢失括号 . 2. no data found a) 可能:setInt(1,100)中,没有100这个值 3. 找不到符号 a) 可能:没导入包 4. 指定了无效URL a) 可能:数据库名或IP错误,即连接出错 5. 类路径没有找到 a) 可能: ClassN...</summary><published>2009-04-03T03:32:00Z</published><updated>2009-04-03T03:32:00Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><link rel="alternate" href="http://www.cnblogs.com/pual/archive/2009/04/03/1428825.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/archive/2009/04/03/1428825.html"/></entry><entry><id>http://www.cnblogs.com/pual/archive/2009/04/02/1428364.html</id><title type="text">Java学习之多线程</title><summary type="text">有以下三点体会：进程是一个静态的概念；线程是一个进程中不同的执行路径；在同一个时间点上一个CPU只能支持一个线程在执行；多核可以支持多线程。Java通过Java.lang.Thread实现多线程，可以通过创建Thread对象的run()方法来实现，也可以通过使用start()来启动新线程。通过run()有两种方法实现：定义线程实现Runnable接口： Thread myThread=new Th...</summary><published>2009-04-02T09:40:00Z</published><updated>2009-04-02T09:40:00Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><link rel="alternate" href="http://www.cnblogs.com/pual/archive/2009/04/02/1428364.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/archive/2009/04/02/1428364.html"/></entry><entry><id>http://www.cnblogs.com/pual/archive/2009/04/02/1427976.html</id><title type="text">简单的网络爬虫类图和序列图</title><summary type="text">网上找到的两个简单爬虫的类图和序列图。仔细分析一下，可以知道一个网络爬虫需要完成的任务流程是： 获得网页的URL-&amp;gt;根据URL进行连接-&amp;gt;获得网页内容</summary><published>2009-04-02T03:56:00Z</published><updated>2009-04-02T03:56:00Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><link rel="alternate" href="http://www.cnblogs.com/pual/archive/2009/04/02/1427976.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/archive/2009/04/02/1427976.html"/></entry><entry><id>http://www.cnblogs.com/pual/archive/2009/04/02/1427908.html</id><title type="text">Socket获取网页数据</title><summary type="text">这几天一直在看爬虫的东西，找到的一点东西先放着。import java.io.*;import java.net.*;public class FirstSocket{ public static void main(String args[]) { //判断参数是否为两个，正确的用法为 FirstSocket 网站 页面 if(args.length!=2) { System.out.print...</summary><published>2009-04-02T03:05:00Z</published><updated>2009-04-02T03:05:00Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><link rel="alternate" href="http://www.cnblogs.com/pual/archive/2009/04/02/1427908.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/archive/2009/04/02/1427908.html"/></entry><entry><id>http://www.cnblogs.com/pual/archive/2009/04/02/1427906.html</id><title type="text">一个简单的java爬虫（转）</title><summary type="text">publicclassAccessimplementsRunnable{HttpURLConnectionhuc;InputStreamis;BufferedReaderreader;Stringurl;publicAccess(){try{url="http://www.yahoo.com.cn";}catch(Exceptione){e.printStackTrace();}try{huc=(...</summary><published>2009-04-02T03:03:00Z</published><updated>2009-04-02T03:03:00Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><link rel="alternate" href="http://www.cnblogs.com/pual/archive/2009/04/02/1427906.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/archive/2009/04/02/1427906.html"/></entry><entry><id>http://www.cnblogs.com/pual/archive/2009/04/02/1427817.html</id><title type="text">主题网络爬虫</title><summary type="text">主题网络爬虫就是根据一定的网页分析算法过滤与主题无关的链接, 保留主题相关的链接并将其放入待抓取的URL 队列中; 然后根据一定的搜索策略从队列中选择下一步要抓取的网页URL, 并重复上述过程, 直到达到系统的某一条件时停止。所有被网络爬虫抓取的网页将会被系统存储, 进行一定的分析、过滤, 并建立索引, 对于主题网络爬虫来说, 这一过程所得到的分析结果还可能对后续的抓取过程进行反馈和指导。主题网络...</summary><published>2009-04-02T02:14:00Z</published><updated>2009-04-02T02:14:00Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><link rel="alternate" href="http://www.cnblogs.com/pual/archive/2009/04/02/1427817.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/archive/2009/04/02/1427817.html"/></entry><entry><id>http://www.cnblogs.com/pual/archive/2009/04/02/1427777.html</id><title type="text">一些常见爬虫</title><summary type="text">RBSE （Eichmann，1994）是第一个发布的爬虫。它有两个基础程序。第一个是&amp;#8220;spider&amp;#8221;，抓取队列中的内容到一个关系数据库中，第二个程序是&amp;#8220;mite&amp;#8221;，是一个修改后的www的ASCII浏览器，负责从网络上下载页面。　　 WebCrawler（Pinkerton，1994）是第一个公开可用的 用来建立全文索引的一个子程序，他使用库www...</summary><published>2009-04-02T01:50:00Z</published><updated>2009-04-02T01:50:00Z</updated><author><name>pual.k3</name><uri>http://www.cnblogs.com/pual/</uri></author><link rel="alternate" href="http://www.cnblogs.com/pual/archive/2009/04/02/1427777.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/pual/archive/2009/04/02/1427777.html"/></entry></feed>
