corpus.gobbler
Class Google
java.lang.Object
|
+--corpus.gobbler.Google
- public class Google
- extends java.lang.Object
The GoogleAPIDemo is a demonstration of using the Google Web APIs for
search and fetching pages from the cache.
I've added proxy authentication using a patch(below).
- See Also:
GoogleSearch
,
GoogleSearchResult
,
[GWAPI],
Patch For Google APIs to Handle Proxy Settings
Constructor Summary |
Google(java.lang.String clientKey,
java.lang.String directive,
java.lang.String directiveArg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Google
public Google(java.lang.String clientKey,
java.lang.String directive,
java.lang.String directiveArg)
doSearch
public void doSearch(int start)
resultsToArray
public java.lang.String[] resultsToArray()
newSearchQuery
public void newSearchQuery(java.lang.String directiveArg)
getEstimatedTotalResultsCount
public int getEstimatedTotalResultsCount()
getClientKey
public java.lang.String getClientKey()
main
public static void main(java.lang.String[] args)
- Demonstration program to call the Google Web APIs service.
Usage:
java com.google.soap.search.GoogleAPIDemo [key] search Foo
java com.google.soap.search.GoogleAPIDemo [key] cached http://www.google.com/
java com.google.soap.search.GoogleAPIDemo [key] spell "britnay spars"
Project Home Page