org.apache.nutch.protocol
Interface Protocol

All Superinterfaces:
Configurable, Pluggable
All Known Implementing Classes:
File, Ftp, HttpBase

public interface Protocol
extends Pluggable, Configurable

A retriever of url content. Implemented by protocol extensions.


Field Summary
static String X_POINT_ID
          The name of the extension point.
 
Method Summary
 ProtocolOutput getProtocolOutput(UTF8 url, CrawlDatum datum)
          Returns the Content for a fetchlist entry.
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Field Detail

X_POINT_ID

public static final String X_POINT_ID
The name of the extension point.

Method Detail

getProtocolOutput

public ProtocolOutput getProtocolOutput(UTF8 url,
                                        CrawlDatum datum)
Returns the Content for a fetchlist entry.



Copyright © 2006 The Apache Software Foundation