Droids API Changes ================== Queue The idea of replacing specific queue by java.util.queue was to give the ability to use distributed queues http://code.google.com/p/hazelcast/wiki/Queue Remove the parse object Remove the close method which is managed by the InputStream Remove the advanced managed content entity class The metadata are extracted by the handling time Crawler exemple =============== Queue q = new Queue(); q.add(new Resource()); new Droids() .setQueue(new TaskQueue() .addTask( new Task("http://www.apache.org") )) .setWorkerFactory(new CrawlingWorkerFactory()) .start() .awaitTermination(); Walking exemple ============== Queue q = new Queue(); q.add(new Resource("file://path/to/directory/")); new Droids() .setQueue(new TaskQueue()) .setWorkerFactory(new WalkingWorkerFactory()) .start() .awaitTermination(); Custom exemple ============== Queue q = new Queue(); q.add(new Resource("file://path/to/directory/")); new Droids() .setQueue(new TaskQueue()) .setWorkerFactory(new WorkerFactory() { public WorkerFactory() { // instantiation } public void execute() { // execution } }) .start() .awaitTermination();