net.nutch.protocol
Interface Protocol

All Known Implementing Classes:
File, Ftp, Http

public interface Protocol

A retriever of url content. Implemented by protocol extensions.


Field Summary
static String X_POINT_ID
          The name of the extension point.
 
Method Summary
 Content getContent(String url)
          Returns the Content for a url.
 

Field Detail

X_POINT_ID

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

Method Detail

getContent

public Content getContent(String url)
                   throws ProtocolException
Returns the Content for a url.

Throws:
IOException - for any errors.
ProtocolException


Copyright © 2004 The Nutch Organization.