org.erowid.sperosearch
Class SearchResultEntry

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

public class SearchResultEntry
extends Object

An entry returned by the SperoSearch search engine. Basically, a struct.

Version:
$Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperosearch/SearchResultEntry.java,v 1.6 2005/01/15 23:26:18 gurustu Exp $
Author:
Stu Statman

Constructor Summary
protected SearchResultEntry(String url, String title, String description, float weight)
          Creates a new SearchResultEntry for a SearchResults collection.
 
Method Summary
 String getDescription()
          Returns the description of this search result.
 String getTitle()
          Returns the title of the web page represented by this search result.
 String getURL()
          Returns the URL, as a String, of this search result.
 float getWeight()
          Returns the weight of this search result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResultEntry

protected SearchResultEntry(String url,
                            String title,
                            String description,
                            float weight)
Creates a new SearchResultEntry for a SearchResults collection.

Method Detail

getURL

public String getURL()
Returns the URL, as a String, of this search result.


getTitle

public String getTitle()
Returns the title of the web page represented by this search result.


getDescription

public String getDescription()
Returns the description of this search result.


getWeight

public float getWeight()
Returns the weight of this search result.


spero logo small Sperowider is
© 2005 Erowid.org