com.ldodds.slug.http
Class SingleFetchFilter

java.lang.Object
  extended bycom.ldodds.slug.framework.config.ComponentImpl
      extended bycom.ldodds.slug.http.URLTaskFilter
          extended bycom.ldodds.slug.http.SingleFetchFilter
All Implemented Interfaces:
Component, TaskFilter

public class SingleFetchFilter
extends URLTaskFilter

Trivial URLTaskFilter that simply ensures that URLs are only visited once within a particular crawl. Note that this is slightly redundant as RDFConsumer already checks to see whether a URL has been fetched since the crawl started.

Author:
ldodds

Field Summary
 
Fields inherited from class com.ldodds.slug.framework.config.ComponentImpl
_configured
 
Constructor Summary
SingleFetchFilter()
           
 
Method Summary
 boolean acceptURL(URLTask task)
           
 
Methods inherited from class com.ldodds.slug.http.URLTaskFilter
accept
 
Methods inherited from class com.ldodds.slug.framework.config.ComponentImpl
configure, doConfig, isConfigured
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ldodds.slug.framework.config.Component
configure, isConfigured
 

Constructor Detail

SingleFetchFilter

public SingleFetchFilter()
Method Detail

acceptURL

public boolean acceptURL(URLTask task)