org.apache.droids.robot.crawler
Class CrawlingWorker

java.lang.Object
  extended by org.apache.droids.helper.Loggable
      extended by org.apache.droids.robot.crawler.CrawlingWorker
All Implemented Interfaces:
Worker<Link>

public class CrawlingWorker
extends Loggable
implements Worker<Link>


Field Summary
 
Fields inherited from class org.apache.droids.helper.Loggable
log
 
Constructor Summary
CrawlingWorker(CrawlingDroid droid)
           
 
Method Summary
 void execute(Link link)
           
protected  java.util.Collection<Link> getFilteredOutlinks(Parse parse)
           
protected  void handle(ContentEntity entity, Link link)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrawlingWorker

public CrawlingWorker(CrawlingDroid droid)
Method Detail

execute

public void execute(Link link)
             throws DroidsException,
                    java.io.IOException
Specified by:
execute in interface Worker<Link>
Throws:
DroidsException
java.io.IOException

handle

protected void handle(ContentEntity entity,
                      Link link)
               throws DroidsException,
                      java.io.IOException
Throws:
DroidsException
java.io.IOException

getFilteredOutlinks

protected java.util.Collection<Link> getFilteredOutlinks(Parse parse)


Copyright © 2007-2009. All Rights Reserved.