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

搜索引擎

开发平台:

Java

  1. # -----------------------------------------------------------------------------
  2. # Disk Writer Plugin Configuration File
  3. # -----------------------------------------------------------------------------
  4. #
  5. # $Id: diskwriter.properties,v 1.2 2003/04/02 20:54:52 vanrogu Exp $
  6. #
  7. # Example plugin configuration of a diskwriter plugin.  This plugin will
  8. # accept all events, filter out the spider-related ones and write each
  9. # fetched resource to disk.  This way, you're able to download (mirror) a
  10. # complete website.
  11. #
  12. # PROPERTIES :
  13. #
  14. #  plugin.class
  15. #    java class of the plugin module to handle the event for this plugin module
  16. #
  17. #  plugin.config.output.absolute
  18. #
  19. #    whether the property with the output folder (see further) will contain
  20. #    an abolute path.  Defaults to false.
  21. #
  22. #  plugin.config.output.folder
  23. #    the outputfolder to which mirrored sites will be downloaded.
  24. #    if empty, the output will simply go the the default output folder (being
  25. #    $JSPIDER_HOME/output).
  26. #    if a relative path is given, it is based upon $JSPIDER_HOME/output
  27. #    if an absolute path is given, the download is saved there.
  28. #    Each resource will reside under a folder with the name of the site.
  29. #
  30. #  plugin.filter.enabled
  31. #    determines whether filters are applied to the incoming events before they
  32. #    are dispatched to the plugin.  (true or false)
  33. #
  34. #  plugin.filter.engine
  35. #    event filter class handling all engine events for this plugin module
  36. #    only applicable if jspider.filter.enabled=true
  37. #
  38. #  plugin.filter.monitoring
  39. #    event filter class handling all monitoring events for this plugin module
  40. #    only applicable if jspider.filter.enabled=true
  41. #
  42. #  plugin.filter.spider
  43. #    event filter class handling all spidering events for this plugin module
  44. #    only applicable if jspider.filter.enabled=true
  45. #
  46. # -----------------------------------------------------------------------------
  47. plugin.class=net.javacoding.jspider.mod.plugin.diskwriter.DiskWriterPlugin
  48. plugin.config.output.absolute=false
  49. plugin.config.output.folder=.
  50. plugin.filter.enabled=true
  51. plugin.filter.engine=net.javacoding.jspider.mod.eventfilter.AllowNoneEventFilter
  52. plugin.filter.monitoring=net.javacoding.jspider.mod.eventfilter.AllowNoneEventFilter
  53. plugin.filter.spider=net.javacoding.jspider.mod.eventfilter.AllowAllEventFilter