org.erowid.sperosearch
Class SearchResults

java.lang.Object
  extended byorg.erowid.sperosearch.SearchResults

public class SearchResults
extends Object

A set of SearchResultEntry objects, generated by a call to SearchIndexReader.search(String).

Version:
$Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperosearch/SearchResults.java,v 1.6 2005/06/08 09:12:29 gurustu Exp $
Author:
Stu Statman

Constructor Summary
SearchResults()
           
 
Method Summary
 void addSearchResultEntry(String url, String title, String description, float weight)
          Adds a SearchResultEntry to this collection.
 int getResultCount()
          Returns the number of SearchResultEntry objects in this collection.
 SearchResultEntry getSearchResultEntry(int index)
          Returns the SearchResultEntry at the index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResults

public SearchResults()
Method Detail

getResultCount

public int getResultCount()
Returns the number of SearchResultEntry objects in this collection.


getSearchResultEntry

public SearchResultEntry getSearchResultEntry(int index)
Returns the SearchResultEntry at the index.


addSearchResultEntry

public void addSearchResultEntry(String url,
                                 String title,
                                 String description,
                                 float weight)
Adds a SearchResultEntry to this collection.


spero logo small Sperowider is
© 2005 Erowid.org