|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscone.util.Google
public class Google
represents the Google search engine.
This class can be used to easily query Google using the Google SOAP-API.
Constructor Summary | |
---|---|
Google(java.lang.String key)
create sa new Google representation. |
Method Summary | |
---|---|
java.util.Vector |
getBackLinks(java.lang.String url,
int max)
returns pages that link to the specified url. |
java.util.Vector |
getRelated(java.lang.String url,
int max)
returns pages that are related to the specified url. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Google(java.lang.String key)
key
- the Google keyMethod Detail |
---|
public java.util.Vector getBackLinks(java.lang.String url, int max) throws java.lang.Exception
url
- the URLmax
- limits the number of resulting pages
java.lang.Exception
public java.util.Vector getRelated(java.lang.String url, int max)
url
- the URLmax
- limits the number of resulting pages
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |