urlfilter.java

来自「爬虫数据的改进,并修正了一些bug」· Java 代码 · 共 16 行

JAVA
16
字号
/* Copyright (c) 2003 The Nutch Organization.  All rights reserved.   */
/* Use subject to the conditions in http://www.nutch.org/LICENSE.txt. */

package net.nutch.net;

/** Interface used to limit which URLs enter Nutch.  Used by the injector and
 * the db updater.*/

public interface URLFilter {

  /* Interface for a filter that transforms a URL: it can pass the
     original URL through or "delete" the URL by returning null */
  public String filter(String url);

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?