org.supermind.crawl
Class LoggingPostFetchProcessor

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

public class LoggingPostFetchProcessor
extends java.lang.Object
implements PostFetchProcessor


Field Summary
 
Fields inherited from interface org.supermind.crawl.PostFetchProcessor
NO_OP
 
Constructor Summary
LoggingPostFetchProcessor()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingPostFetchProcessor

public LoggingPostFetchProcessor()
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