java.lang.Object org.supermind.crawl.PostFetchProcessorChain
public class PostFetchProcessorChain
Chain of PostFetchProcessor
s.
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 |
---|
public PostFetchProcessorChain()
Method Detail |
---|
public void close() throws java.io.IOException
PostFetchProcessor
close
in interface PostFetchProcessor
java.io.IOException
public void process(FetcherOutput fo, org.apache.nutch.protocol.Content content, org.apache.nutch.parse.Parse parse) throws java.io.IOException
PostFetchProcessor
process
in interface PostFetchProcessor
parse
- Parse data, can be null if parse failed
java.io.IOException
public void setProcessors(java.util.List<PostFetchProcessor> processors)