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 $
-
GoogleTrackerService(Properties, Metrics, String, String, int)
-
-
addToHistory()
- Add a record to the URL/Site position history
-
currentPosition()
-
-
getServiceName()
- Override this method
-
getServiceStatus()
- Override this with something that returns a Service Status String.
-
getSiteString()
- Override this method
-
history()
-
-
isMonitor()
- Override this method
-
refreshUrlList(boolean)
- Google-specific implementation of Tracker refreshUrlList function
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.
refreshUrlList
public void refreshUrlList(boolean reportNewUrls)
- Google-specific implementation of Tracker refreshUrlList function
- Overrides:
- refreshUrlList in class SearchEngineMonitorService
addToHistory
public void addToHistory()
- Add a record to the URL/Site position history
getSiteString
public String getSiteString()
- Override this method
- Overrides:
- getSiteString in class SearchEngineMonitorService
currentPosition
public String currentPosition()
- Returns:
- String describing site/URL's current position on Google for
the search terms.
- Overrides:
- currentPosition in class SearchEngineMonitorService
history
public String history()
- Returns:
- String describing site/URL's position history on Google for the search terms.
- Overrides:
- history in class SearchEngineMonitorService
getServiceName
public String getServiceName()
- Override this method
- Overrides:
- getServiceName in class SearchEngineMonitorService
getServiceStatus
public String getServiceStatus()
- Override this with something that returns a Service Status String.
- Overrides:
- getServiceStatus in class Service
isMonitor
public boolean isMonitor()
- Override this method
- Overrides:
- isMonitor in class SearchEngineMonitorService
All Packages Class Hierarchy This Package Previous Next Index