webrobotcallback.java

来自「一个Java的网络爬虫」· Java 代码 · 共 25 行

JAVA
25
字号
package net.matuschek.spider;

/*********************************************
    Copyright (c) 2001 by Daniel Matuschek
*********************************************/

/**
 * Callback interface for the webrobot to inform the front end
 * about the current state
 *
 * @author Daniel Matuschek <daniel@matuschek.net>
 * @version $Id: WebRobotCallback.java,v 1.1 2001/04/18 08:31:08 matuschd Exp $
 */
public interface WebRobotCallback {

  void webRobotRetrievedDoc(String url, int size);

  void webRobotUpdateQueueStatus(int length);

  void webRobotDone();

  void webRobotSleeping(boolean sleeping);

}

⌨️ 快捷键说明

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