Plugin.java
上传用户:qing5858
上传日期:2015-10-27
资源大小:6056k
文件大小:1k
源码类别:

搜索引擎

开发平台:

Java

  1. package net.javacoding.jspider.spi;
  2. import net.javacoding.jspider.api.event.EventSink;
  3. /**
  4.  * Interface that must be implemented by a JSpider module.  This interface
  5.  * allows interaction between the JSpider core and the module.
  6.  *
  7.  * $Id: Plugin.java,v 1.1 2003/04/03 16:25:22 vanrogu Exp $
  8.  *
  9.  * @author  G黱ther Van Roey
  10.  */
  11. public interface Plugin extends EventSink {
  12.     /**
  13.      * Returns the name of the module.
  14.      * @return name of the module
  15.      */
  16.     public String getName();
  17.     /**
  18.      * Returns the version string of the module.
  19.      * @return version string of the module
  20.      */
  21.     public String getVersion();
  22.     /**
  23.      * Returns a description of the module.
  24.      * @return description of the module
  25.      */
  26.     public String getDescription();
  27.     /**
  28.      * Returns the vednor of the module.
  29.      * @return the vendor of the module
  30.      */
  31.     public String getVendor();
  32. }