⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstracthttpdocmanager.java

📁 真正的网络爬虫的源代码啊,希望大家好好阅读,写出心得体会啊
💻 JAVA
字号:
package net.matuschek.http;

import java.io.IOException;
import java.net.URL;

/**
 * Abstract base class for HttpDocManagers.
 * Implements all methods (empty) of HttpDocManager 
 *
 * @author oliver_schmidt
 * @version $Id: 
 */

public abstract class AbstractHttpDocManager implements HttpDocManager {

/**
 * Empty implementation. 
 * @see net.matuschek.http.HttpDocManager#storeDocument(net.matuschek.http.HttpDoc)
 */
	public void storeDocument(HttpDoc doc) throws DocManagerException {
	}

	/**
	 * Empty implementation. 
	 * @see net.matuschek.http.HttpDocManager#removeDocument(java.net.URL)
	 */
	public void removeDocument(URL url) {
	}

	/**
	 * Empty implementation. 
	 * @see net.matuschek.http.HttpDocManager#findDuplicate(net.matuschek.http.HttpDoc)
	 */
	public String findDuplicate(HttpDoc doc) throws IOException {
		return null;
	}

	/**
	 * Empty implementation. 
	 * @see net.matuschek.http.HttpDocManager#finish()
	 */
	public void finish() {
	}
	
	/**
	 * Empty implementation. 
	 * @see net.matuschek.http.HttpDocManager#retrieveFromCache(java.net.URL)
	 */
	public HttpDoc retrieveFromCache(URL u) {
		return null;
	}
	
	/**
	 * Empty implementation.
	 * @see net.matuschek.http.HttpDocManager#processDocument(net.matuschek.http.HttpDoc)
	 */
	public void processDocument(HttpDoc doc) throws DocManagerException {
	}

}

⌨️ 快捷键说明

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