Spreadsheet Toolkit

corpus.gobbler
Class GoogleAPISearch

java.lang.Object
  |
  +--corpus.gobbler.SearchMethod
        |
        +--corpus.gobbler.GoogleAPISearch

public class GoogleAPISearch
extends SearchMethod

Title:

Description:

Copyright: Copyright (c) 2002

Company: VUW:MCS


Field Summary
 
Fields inherited from class corpus.gobbler.SearchMethod
fileType, numPerPage, result, searchString
 
Constructor Summary
GoogleAPISearch(java.lang.String searchString, java.lang.String fileType, int numPerPage, Gobbler gobbler)
           
 
Method Summary
protected  int EstimateTotalResults()
           
protected  SearchResult StartSearch(int startNumber)
          Fire up the GoogleAPI and return the results as a String[]
 
Methods inherited from class corpus.gobbler.SearchMethod
html, newEstimate, performSearch, status, urlCountTick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleAPISearch

public GoogleAPISearch(java.lang.String searchString,
                       java.lang.String fileType,
                       int numPerPage,
                       Gobbler gobbler)
Method Detail

EstimateTotalResults

protected int EstimateTotalResults()
Specified by:
EstimateTotalResults in class SearchMethod

StartSearch

protected SearchResult StartSearch(int startNumber)
Fire up the GoogleAPI and return the results as a String[]

Specified by:
StartSearch in class SearchMethod
Returns:
The updated array of results
See Also:
GoogleAPI

Spreadsheet Toolkit

Project Home Page