org.supermind.crawl
Class LoggingPagePersister

java.lang.Object
  extended by org.supermind.crawl.LoggingPagePersister
All Implemented Interfaces:
PagePersister

public class LoggingPagePersister
extends java.lang.Object
implements PagePersister


Field Summary
 
Fields inherited from interface org.supermind.crawl.PagePersister
NO_OP
 
Constructor Summary
LoggingPagePersister()
           
 
Method Summary
 void close()
          Cleanup.
 void outputPage(FetcherOutput fo, org.apache.nutch.protocol.Content content, org.apache.nutch.parse.Parse parse)
          Persists a fetched page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingPagePersister

public LoggingPagePersister()
Method Detail

close

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

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

outputPage

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

Specified by:
outputPage in interface PagePersister
Throws:
java.io.IOException