org.supermind.crawl
Class PostFetchProcessorChain

java.lang.Object
  extended by org.supermind.crawl.PostFetchProcessorChain
All Implemented Interfaces:
PostFetchProcessor

public class PostFetchProcessorChain
extends java.lang.Object
implements PostFetchProcessor

Chain of PostFetchProcessors.


Field Summary
 
Fields inherited from interface org.supermind.crawl.PostFetchProcessor
NO_OP
 
Constructor Summary
PostFetchProcessorChain()
           
 
Method Summary
 void close()
          Cleanup.
 void process(FetcherOutput fo, org.apache.nutch.protocol.Content content, org.apache.nutch.parse.Parse parse)
          Processes a fetched page.
 void setProcessors(java.util.List<PostFetchProcessor> processors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostFetchProcessorChain

public PostFetchProcessorChain()
Method Detail

close

public void close()
           throws java.io.IOException
Description copied from interface: PostFetchProcessor
Cleanup.

Specified by:
close in interface PostFetchProcessor
Throws:
java.io.IOException

process

public void process(FetcherOutput fo,
                    org.apache.nutch.protocol.Content content,
                    org.apache.nutch.parse.Parse parse)
             throws java.io.IOException
Description copied from interface: PostFetchProcessor
Processes a fetched page.

Specified by:
process in interface PostFetchProcessor
parse - Parse data, can be null if parse failed
Throws:
java.io.IOException

setProcessors

public void setProcessors(java.util.List<PostFetchProcessor> processors)