org.erowid.sperosearch
Class SearchResults
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchResults
public SearchResults()
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.