diskwriter.properties
上传用户:qing5858
上传日期:2015-10-27
资源大小:6056k
文件大小:2k
- # -----------------------------------------------------------------------------
- # Disk Writer Plugin Configuration File
- # -----------------------------------------------------------------------------
- #
- # $Id: diskwriter.properties,v 1.2 2003/04/02 20:54:52 vanrogu Exp $
- #
- # Example plugin configuration of a diskwriter plugin. This plugin will
- # accept all events, filter out the spider-related ones and write each
- # fetched resource to disk. This way, you're able to download (mirror) a
- # complete website.
- #
- # PROPERTIES :
- #
- # plugin.class
- # java class of the plugin module to handle the event for this plugin module
- #
- # plugin.config.output.absolute
- #
- # whether the property with the output folder (see further) will contain
- # an abolute path. Defaults to false.
- #
- # plugin.config.output.folder
- # the outputfolder to which mirrored sites will be downloaded.
- # if empty, the output will simply go the the default output folder (being
- # $JSPIDER_HOME/output).
- # if a relative path is given, it is based upon $JSPIDER_HOME/output
- # if an absolute path is given, the download is saved there.
- # Each resource will reside under a folder with the name of the site.
- #
- # plugin.filter.enabled
- # determines whether filters are applied to the incoming events before they
- # are dispatched to the plugin. (true or false)
- #
- # plugin.filter.engine
- # event filter class handling all engine events for this plugin module
- # only applicable if jspider.filter.enabled=true
- #
- # plugin.filter.monitoring
- # event filter class handling all monitoring events for this plugin module
- # only applicable if jspider.filter.enabled=true
- #
- # plugin.filter.spider
- # event filter class handling all spidering events for this plugin module
- # only applicable if jspider.filter.enabled=true
- #
- # -----------------------------------------------------------------------------
- plugin.class=net.javacoding.jspider.mod.plugin.diskwriter.DiskWriterPlugin
- plugin.config.output.absolute=false
- plugin.config.output.folder=.
- plugin.filter.enabled=true
- plugin.filter.engine=net.javacoding.jspider.mod.eventfilter.AllowNoneEventFilter
- plugin.filter.monitoring=net.javacoding.jspider.mod.eventfilter.AllowNoneEventFilter
- plugin.filter.spider=net.javacoding.jspider.mod.eventfilter.AllowAllEventFilter