Commit 17d2d98c authored by yihua.huang's avatar yihua.huang

remove invalid @date

parent 72d29f08
...@@ -6,7 +6,7 @@ import java.util.Map; ...@@ -6,7 +6,7 @@ import java.util.Map;
/** /**
* 保存抽取结果的类,由PageProcessor处理得到,传递给{@link us.codecraft.webmagic.pipeline.Pipeline}进行持久化。<br> * 保存抽取结果的类,由PageProcessor处理得到,传递给{@link us.codecraft.webmagic.pipeline.Pipeline}进行持久化。<br>
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-25 <br> * Date: 13-7-25 <br>
* Time: 下午12:20 <br> * Time: 下午12:20 <br>
*/ */
public class ResultItems { public class ResultItems {
......
...@@ -3,7 +3,7 @@ package us.codecraft.webmagic.downloader; ...@@ -3,7 +3,7 @@ package us.codecraft.webmagic.downloader;
/** /**
* 比较占用资源的服务可以实现该接口,Spider会在结束时调用destroy()释放资源。<br> * 比较占用资源的服务可以实现该接口,Spider会在结束时调用destroy()释放资源。<br>
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * Date: 13-7-26 <br>
* Time: 下午3:10 <br> * Time: 下午3:10 <br>
*/ */
public interface Destroyable { public interface Destroyable {
......
...@@ -5,7 +5,7 @@ import java.util.List; ...@@ -5,7 +5,7 @@ import java.util.List;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * Date: 13-8-3 <br>
* Time: 下午5:29 <br> * Time: 下午5:29 <br>
*/ */
public class AndSelector implements Selector { public class AndSelector implements Selector {
......
...@@ -5,7 +5,7 @@ import java.util.List; ...@@ -5,7 +5,7 @@ import java.util.List;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * Date: 13-8-3 <br>
* Time: 下午5:29 <br> * Time: 下午5:29 <br>
*/ */
public class OrSelector implements Selector { public class OrSelector implements Selector {
......
...@@ -4,7 +4,7 @@ import java.util.Collection; ...@@ -4,7 +4,7 @@ import java.util.Collection;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-4 <br> * Date: 13-8-4 <br>
* Time: 下午5:18 <br> * Time: 下午5:18 <br>
*/ */
public interface PagedModel { public interface PagedModel {
......
...@@ -6,7 +6,7 @@ import us.codecraft.webmagic.Page; ...@@ -6,7 +6,7 @@ import us.codecraft.webmagic.Page;
* 实现这个接口即可在抽取后进行后处理。<br> * 实现这个接口即可在抽取后进行后处理。<br>
* *
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * Date: 13-8-3 <br>
* Time: 上午9:42 <br> * Time: 上午9:42 <br>
*/ */
public interface AfterExtractor { public interface AfterExtractor {
......
...@@ -5,7 +5,7 @@ import us.codecraft.webmagic.Task; ...@@ -5,7 +5,7 @@ import us.codecraft.webmagic.Task;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * Date: 13-8-3 <br>
* Time: 下午3:41 <br> * Time: 下午3:41 <br>
*/ */
public class ConsolePageModelPipeline implements PageModelPipeline { public class ConsolePageModelPipeline implements PageModelPipeline {
......
...@@ -4,7 +4,7 @@ import us.codecraft.webmagic.selector.Selector; ...@@ -4,7 +4,7 @@ import us.codecraft.webmagic.selector.Selector;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午9:48 <br> * Time: 下午9:48 <br>
*/ */
class Extractor { class Extractor {
......
...@@ -7,7 +7,7 @@ import java.lang.reflect.Method; ...@@ -7,7 +7,7 @@ import java.lang.reflect.Method;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午9:48 <br> * Time: 下午9:48 <br>
*/ */
class FieldExtractor extends Extractor{ class FieldExtractor extends Extractor{
......
...@@ -16,7 +16,7 @@ import java.util.regex.Pattern; ...@@ -16,7 +16,7 @@ import java.util.regex.Pattern;
/** /**
* 基于PageProcessor的扩展点。<br> * 基于PageProcessor的扩展点。<br>
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午8:46 <br> * Time: 下午8:46 <br>
*/ */
class ModelPageProcessor implements PageProcessor { class ModelPageProcessor implements PageProcessor {
......
...@@ -14,7 +14,7 @@ import java.util.concurrent.ConcurrentHashMap; ...@@ -14,7 +14,7 @@ import java.util.concurrent.ConcurrentHashMap;
* 基于Pipeline的扩展点,用于实现注解格式的Pipeline。<br> * 基于Pipeline的扩展点,用于实现注解格式的Pipeline。<br>
* 与PageModelPipeline是一对多的关系(原谅作者没有更好的名字了)。<br> * 与PageModelPipeline是一对多的关系(原谅作者没有更好的名字了)。<br>
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-2 <br> * Date: 13-8-2 <br>
* Time: 上午10:47 <br> * Time: 上午10:47 <br>
*/ */
class ModelPipeline implements Pipeline { class ModelPipeline implements Pipeline {
......
...@@ -6,7 +6,7 @@ import us.codecraft.webmagic.Spider; ...@@ -6,7 +6,7 @@ import us.codecraft.webmagic.Spider;
/** /**
* 基于Model的Spider,封装后的入口类。<br> * 基于Model的Spider,封装后的入口类。<br>
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * Date: 13-8-3 <br>
* Time: 上午9:51 <br> * Time: 上午9:51 <br>
*/ */
public class OOSpider extends Spider { public class OOSpider extends Spider {
......
...@@ -17,7 +17,7 @@ import java.util.regex.Pattern; ...@@ -17,7 +17,7 @@ import java.util.regex.Pattern;
* Model主要逻辑类。将一个带注解的POJO转换为一个PageModelExtractor。<br> * Model主要逻辑类。将一个带注解的POJO转换为一个PageModelExtractor。<br>
* *
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午9:33 <br> * Time: 下午9:33 <br>
*/ */
class PageModelExtractor { class PageModelExtractor {
......
...@@ -4,7 +4,7 @@ import us.codecraft.webmagic.Task; ...@@ -4,7 +4,7 @@ import us.codecraft.webmagic.Task;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * Date: 13-8-3 <br>
* Time: 上午9:34 <br> * Time: 上午9:34 <br>
*/ */
public interface PageModelPipeline<T> { public interface PageModelPipeline<T> {
......
...@@ -8,7 +8,7 @@ import java.lang.annotation.Target; ...@@ -8,7 +8,7 @@ import java.lang.annotation.Target;
* 定义类或者字段的抽取规则。<br> * 定义类或者字段的抽取规则。<br>
* *
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午8:40 <br> * Time: 下午8:40 <br>
*/ */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
......
...@@ -8,7 +8,7 @@ import java.lang.annotation.Target; ...@@ -8,7 +8,7 @@ import java.lang.annotation.Target;
* 定义类或者字段的抽取规则,只能在Extract、ExtractByRaw之后使用。<br> * 定义类或者字段的抽取规则,只能在Extract、ExtractByRaw之后使用。<br>
* *
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午8:40 <br> * Time: 下午8:40 <br>
*/ */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
......
...@@ -7,7 +7,7 @@ import java.lang.annotation.Target; ...@@ -7,7 +7,7 @@ import java.lang.annotation.Target;
/** /**
* 定义类或者字段的抽取规则,只能在Extract、ExtractByRaw之后使用。<br> * 定义类或者字段的抽取规则,只能在Extract、ExtractByRaw之后使用。<br>
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午8:40 <br> * Time: 下午8:40 <br>
*/ */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
......
...@@ -8,7 +8,7 @@ import java.lang.annotation.Target; ...@@ -8,7 +8,7 @@ import java.lang.annotation.Target;
* 对于在Class级别就使用过ExtractBy的类,在字段中想抽取全部内容可使用此方法。<br> * 对于在Class级别就使用过ExtractBy的类,在字段中想抽取全部内容可使用此方法。<br>
* *
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午8:40 <br> * Time: 下午8:40 <br>
*/ */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
......
...@@ -7,7 +7,7 @@ import java.lang.annotation.Target; ...@@ -7,7 +7,7 @@ import java.lang.annotation.Target;
/** /**
* 定义类或者字段的抽取规则(从url中抽取,只支持正则表达式)。<br> * 定义类或者字段的抽取规则(从url中抽取,只支持正则表达式)。<br>
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午8:40 <br> * Time: 下午8:40 <br>
*/ */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
......
...@@ -7,7 +7,7 @@ import java.lang.annotation.Target; ...@@ -7,7 +7,7 @@ import java.lang.annotation.Target;
/** /**
* 定义辅助爬取的url。<br> * 定义辅助爬取的url。<br>
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午8:40 <br> * Time: 下午8:40 <br>
*/ */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
......
...@@ -8,7 +8,7 @@ import java.lang.annotation.Target; ...@@ -8,7 +8,7 @@ import java.lang.annotation.Target;
* 定义某个类抽取的范围和来源,sourceRegion可以用xpath语法限定抽取区域。<br> * 定义某个类抽取的范围和来源,sourceRegion可以用xpath语法限定抽取区域。<br>
* *
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * Date: 13-8-1 <br>
* Time: 下午8:40 <br> * Time: 下午8:40 <br>
*/ */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
......
...@@ -13,7 +13,7 @@ import java.util.concurrent.ConcurrentHashMap; ...@@ -13,7 +13,7 @@ import java.util.concurrent.ConcurrentHashMap;
* 在使用redis做分布式爬虫时,请不要使用此功能。<br> * 在使用redis做分布式爬虫时,请不要使用此功能。<br>
* *
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-4 <br> * Date: 13-8-4 <br>
* Time: 下午5:15 <br> * Time: 下午5:15 <br>
*/ */
public class PagedPipeline implements Pipeline { public class PagedPipeline implements Pipeline {
......
...@@ -13,7 +13,7 @@ import us.codecraft.webmagic.schedular.Scheduler; ...@@ -13,7 +13,7 @@ import us.codecraft.webmagic.schedular.Scheduler;
* 使用redis管理url,构建一个分布式的爬虫。<br> * 使用redis管理url,构建一个分布式的爬虫。<br>
* *
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-25 <br> * Date: 13-7-25 <br>
* Time: 上午7:07 <br> * Time: 上午7:07 <br>
*/ */
public class RedisScheduler implements Scheduler { public class RedisScheduler implements Scheduler {
......
...@@ -4,7 +4,7 @@ import java.util.Map; ...@@ -4,7 +4,7 @@ import java.util.Map;
/** /**
* @author code4crafter@gmail.com * @author code4crafter@gmail.com
* @date Dec 14, 2012 * Date Dec 14, 2012
*/ */
public class DoubleKeyMap<K1, K2, V> extends MultiKeyMapBase { public class DoubleKeyMap<K1, K2, V> extends MultiKeyMapBase {
private Map<K1, Map<K2, V>> map; private Map<K1, Map<K2, V>> map;
......
...@@ -2,7 +2,7 @@ package us.codecraft.webmagic.utils; ...@@ -2,7 +2,7 @@ package us.codecraft.webmagic.utils;
/** /**
* @author code4crafter@gmail.com * @author code4crafter@gmail.com
* @date Dec 14, 2012 * Date Dec 14, 2012
*/ */
import java.util.HashMap; import java.util.HashMap;
......
...@@ -9,7 +9,7 @@ import us.codecraft.webmagic.Task; ...@@ -9,7 +9,7 @@ import us.codecraft.webmagic.Task;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-25 <br> * Date: 13-7-25 <br>
* Time: 上午7:51 <br> * Time: 上午7:51 <br>
*/ */
public class RedisSchedulerTest { public class RedisSchedulerTest {
......
...@@ -26,7 +26,7 @@ import java.util.Map; ...@@ -26,7 +26,7 @@ import java.util.Map;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-5 <br> * Date: 13-8-5 <br>
* Time: 下午2:11 <br> * Time: 下午2:11 <br>
*/ */
public class LucenePipeline implements Pipeline { public class LucenePipeline implements Pipeline {
......
...@@ -13,7 +13,7 @@ import java.util.List; ...@@ -13,7 +13,7 @@ import java.util.List;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-2 <br> * Date: 13-8-2 <br>
* Time: 上午7:52 <br> * Time: 上午7:52 <br>
*/ */
@TargetUrl("http://my.oschina.net/flashsword/blog/\\d+") @TargetUrl("http://my.oschina.net/flashsword/blog/\\d+")
......
...@@ -14,7 +14,7 @@ import java.util.Scanner; ...@@ -14,7 +14,7 @@ import java.util.Scanner;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-7 <br> * Date: 13-8-7 <br>
* Time: 下午9:24 <br> * Time: 下午9:24 <br>
*/ */
public class QuickStarter { public class QuickStarter {
......
...@@ -2,7 +2,7 @@ package us.codecraft.webmagic.model.samples; ...@@ -2,7 +2,7 @@ package us.codecraft.webmagic.model.samples;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-2 <br> * Date: 13-8-2 <br>
* Time: 上午8:10 <br> * Time: 上午8:10 <br>
*/ */
public interface Blog { public interface Blog {
......
...@@ -7,7 +7,7 @@ import us.codecraft.webmagic.model.annotation.TargetUrl; ...@@ -7,7 +7,7 @@ import us.codecraft.webmagic.model.annotation.TargetUrl;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-2 <br> * Date: 13-8-2 <br>
* Time: 上午7:52 <br> * Time: 上午7:52 <br>
*/ */
@TargetUrl("http://*.iteye.com/blog/*") @TargetUrl("http://*.iteye.com/blog/*")
......
...@@ -16,7 +16,7 @@ import java.util.List; ...@@ -16,7 +16,7 @@ import java.util.List;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-4 <br> * Date: 13-8-4 <br>
* Time: 下午8:17 <br> * Time: 下午8:17 <br>
*/ */
@TargetUrl("http://news.163.com/\\d+/\\d+/\\d+/\\w+*.html") @TargetUrl("http://news.163.com/\\d+/\\d+/\\d+/\\w+*.html")
......
...@@ -9,7 +9,7 @@ import us.codecraft.webmagic.model.annotation.TargetUrl; ...@@ -9,7 +9,7 @@ import us.codecraft.webmagic.model.annotation.TargetUrl;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * Date: 13-8-3 <br>
* Time: 下午8:25 <br> * Time: 下午8:25 <br>
*/ */
@TargetUrl("http://www.oschina.net/question/\\d+_\\d+*") @TargetUrl("http://www.oschina.net/question/\\d+_\\d+*")
......
...@@ -10,7 +10,7 @@ import java.util.List; ...@@ -10,7 +10,7 @@ import java.util.List;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-2 <br> * Date: 13-8-2 <br>
* Time: 上午7:52 <br> * Time: 上午7:52 <br>
*/ */
@TargetUrl("http://my.oschina.net/flashsword/blog/\\d+") @TargetUrl("http://my.oschina.net/flashsword/blog/\\d+")
......
...@@ -8,7 +8,7 @@ import us.codecraft.webmagic.processor.PageProcessor; ...@@ -8,7 +8,7 @@ import us.codecraft.webmagic.processor.PageProcessor;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * Date: 13-7-26 <br>
* Time: 上午7:31 <br> * Time: 上午7:31 <br>
*/ */
public class IteyeBlogProcessor implements PageProcessor { public class IteyeBlogProcessor implements PageProcessor {
......
...@@ -22,7 +22,7 @@ import java.util.Map; ...@@ -22,7 +22,7 @@ import java.util.Map;
* 需要下载Selenium driver支持。<br> * 需要下载Selenium driver支持。<br>
* *
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * Date: 13-7-26 <br>
* Time: 下午1:37 <br> * Time: 下午1:37 <br>
*/ */
public class SeleniumDownloader implements Downloader, Destroyable { public class SeleniumDownloader implements Downloader, Destroyable {
......
...@@ -12,7 +12,7 @@ import java.util.concurrent.atomic.AtomicInteger; ...@@ -12,7 +12,7 @@ import java.util.concurrent.atomic.AtomicInteger;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * Date: 13-7-26 <br>
* Time: 下午1:41 <br> * Time: 下午1:41 <br>
*/ */
class WebDriverPool { class WebDriverPool {
......
...@@ -14,7 +14,7 @@ import java.util.Map; ...@@ -14,7 +14,7 @@ import java.util.Map;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * Date: 13-7-26 <br>
* Time: 下午12:27 <br> * Time: 下午12:27 <br>
*/ */
public class SeleniumTest { public class SeleniumTest {
......
...@@ -9,7 +9,7 @@ import us.codecraft.webmagic.Task; ...@@ -9,7 +9,7 @@ import us.codecraft.webmagic.Task;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * Date: 13-7-26 <br>
* Time: 下午2:46 <br> * Time: 下午2:46 <br>
*/ */
public class SeleniumDownloaderTest { public class SeleniumDownloaderTest {
......
...@@ -6,7 +6,7 @@ import org.openqa.selenium.WebDriver; ...@@ -6,7 +6,7 @@ import org.openqa.selenium.WebDriver;
/** /**
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * Date: 13-7-26 <br>
* Time: 下午2:12 <br> * Time: 下午2:12 <br>
*/ */
public class WebDriverPoolTest { public class WebDriverPoolTest {
......
...@@ -11,7 +11,7 @@ import us.codecraft.webmagic.processor.PageProcessor; ...@@ -11,7 +11,7 @@ import us.codecraft.webmagic.processor.PageProcessor;
* 花瓣网抽取器。<br> * 花瓣网抽取器。<br>
* 使用Selenium做页面动态渲染。<br> * 使用Selenium做页面动态渲染。<br>
* @author code4crafter@gmail.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * Date: 13-7-26 <br>
* Time: 下午4:08 <br> * Time: 下午4:08 <br>
*/ */
public class HuabanProcessor implements PageProcessor { public class HuabanProcessor implements PageProcessor {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment