websphinx.searchengine
Interface SearchEngine

All Superinterfaces:
Classifier, java.io.Serializable
All Known Implementing Classes:
AltaVista, Excite, Google, HotBot, MetaCrawler, NewsBot, NewsIndex

public interface SearchEngine
extends Classifier

Abstract representation of a search engine.


Method Summary
 int getResultsPerPage()
          Get number of results per page for this search engine.
 java.net.URL makeQuery(java.lang.String keywords)
          Make a query URL for this search engine.
 
Methods inherited from interface websphinx.Classifier
classify, getPriority
 

Method Detail

makeQuery

public java.net.URL makeQuery(java.lang.String keywords)
Make a query URL for this search engine.

Parameters:
keywords - list of keywords, separated by spaces
Returns:
URL that submits the keywords to this search engine

getResultsPerPage

public int getResultsPerPage()
Get number of results per page for this search engine.

Returns:
typical number of results per page