documentfilter.java
来自「真正的网络爬虫的源代码啊,希望大家好好阅读,写出心得体会啊」· Java 代码 · 共 26 行
JAVA
26 行
package net.matuschek.spider.docfilter;
/*********************************************
Copyright (c) 2001 by Daniel Matuschek
*********************************************/
import net.matuschek.http.HttpDoc;
/**
* This interface defines a filter for a HTTP document.
* Objects that implement this interface will do some kind
* of transformation on the document.
*
* @author Daniel Matuschek
* @version $Revision: 1.5 $
*/
public interface DocumentFilter
{
/**
* This method filters (transforms) an HttpDoc
*/
HttpDoc process(HttpDoc input) throws FilterException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?