All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.andthehorseyourodeinon.netgrep.GoogleTrackerService

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----com.andthehorseyourodeinon.ghear.Service
                   |
                   +----com.andthehorseyourodeinon.netgrep.SearchEngineMonitorService
                           |
                           +----com.andthehorseyourodeinon.netgrep.GoogleTrackerService

public class GoogleTrackerService
extends SearchEngineMonitorService
Implementation of a Search Engine Tracker Service that works for the Google Search Engine.

Version:
$Id: GoogleTrackerService.java,v 1.1 2000/05/16 22:44:24 samuelg Exp $

Constructor Index

 o GoogleTrackerService(Properties, Metrics, String, String, int)

Method Index

 o addToHistory()
Add a record to the URL/Site position history
 o currentPosition()
 o getServiceName()
Override this method
 o getServiceStatus()
Override this with something that returns a Service Status String.
 o getSiteString()
Override this method
 o history()
 o isMonitor()
Override this method
 o refreshUrlList(boolean)
Google-specific implementation of Tracker refreshUrlList function

Constructors

 o GoogleTrackerService
 public GoogleTrackerService(Properties options,
                             Metrics mets,
                             String searchTerm,
                             String site,
                             int depth)
Parameters:
options - Properties general to all the search engine Monitors and Trackers.
mets - Metrics for all the search engine Monitors and Trackers.
searchTerm - a String containing the search terms to use against the search engine.
site - the site to track position and position changes.
depth - the number of results from the search engine to consider.

Methods

 o refreshUrlList
 public void refreshUrlList(boolean reportNewUrls)
Google-specific implementation of Tracker refreshUrlList function

Overrides:
refreshUrlList in class SearchEngineMonitorService
 o addToHistory
 public void addToHistory()
Add a record to the URL/Site position history

 o getSiteString
 public String getSiteString()
Override this method

Overrides:
getSiteString in class SearchEngineMonitorService
 o currentPosition
 public String currentPosition()
Returns:
String describing site/URL's current position on Google for the search terms.
Overrides:
currentPosition in class SearchEngineMonitorService
 o history
 public String history()
Returns:
String describing site/URL's position history on Google for the search terms.
Overrides:
history in class SearchEngineMonitorService
 o getServiceName
 public String getServiceName()
Override this method

Overrides:
getServiceName in class SearchEngineMonitorService
 o getServiceStatus
 public String getServiceStatus()
Override this with something that returns a Service Status String.

Overrides:
getServiceStatus in class Service
 o isMonitor
 public boolean isMonitor()
Override this method

Overrides:
isMonitor in class SearchEngineMonitorService

All Packages  Class Hierarchy  This Package  Previous  Next  Index