search
Class GoogleSearchEngine

java.lang.Object
  extended by search.GoogleSearchEngine
All Implemented Interfaces:
SearchEngine

public class GoogleSearchEngine
extends java.lang.Object
implements SearchEngine

GoogleSearchEngine Class allows the system to search a Blank Custom Google Search Engine we created with our Google account.


Constructor Summary
GoogleSearchEngine()
          Empty Constructor
 
Method Summary
 java.util.ArrayList<SearchResult> getResults(java.lang.String searchTerms)
          Does the search for the GoogleSearchEngine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleSearchEngine

public GoogleSearchEngine()
Empty Constructor

Method Detail

getResults

public java.util.ArrayList<SearchResult> getResults(java.lang.String searchTerms)
Does the search for the GoogleSearchEngine

Specified by:
getResults in interface SearchEngine
Parameters:
searchTerms - - The search terms to use
Returns:
- the return ArrayList of SearchResult Objects.