|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectws.qe.Google
This class gets access to Google and gets a given number of URLs as search
results for a query.
This class and its method are only to be called in the download module
"Module I".
The implemention of this class is supported by Google Web APIs, for more
information please see Google Web APIs Service ( javadoc ).
QueryExpansion
,
Tools.WebTextTokenStem(String[], String, String, String, String)
Constructor Summary | |
Google()
|
Method Summary | |
static java.lang.String[] |
getURLsList(javax.swing.JDialog stopDialog,
java.lang.String query,
int numOfWebsites)
This method is to be called only in "Module I", it gets Google to search for websites according to the given query, saves a given number of URLs as results in a list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Google()
Method Detail |
public static java.lang.String[] getURLsList(javax.swing.JDialog stopDialog, java.lang.String query, int numOfWebsites) throws java.io.IOException, com.google.soap.search.GoogleSearchFault
stopDialog
- The "Stop"-dialog.query
- An English word, which is delievered by "Word"-inputfield.numOfWebsites
- The number of search results(URLs), it is the same number
delivered by "Web"-box.
java.io.IOException
com.google.soap.search.GoogleSearchFault
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |