search
Class GoogleNewsSearchEngine

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

public class GoogleNewsSearchEngine
extends java.lang.Object
implements SearchEngine

Allows the system to search the Google News API


Constructor Summary
GoogleNewsSearchEngine()
           
 
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

GoogleNewsSearchEngine

public GoogleNewsSearchEngine()
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.