| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
net.server.sendmail.SearchThread
public class SearchThread
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class java.lang.Thread | 
|---|
| java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler | 
| Field Summary | 
|---|
| Fields inherited from class java.lang.Thread | 
|---|
| MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY | 
| Method Summary | |
|---|---|
|  void | email(java.lang.String msg)Invokes the email applet and sends required info to send the email | 
|  java.lang.String | getSearch(java.lang.String s)Method getSearch | 
| static java.lang.String | getUrlResult(java.lang.String search)Method getUrlResult Queries a website with the url provided and returns the results | 
|  void | print(java.lang.String s)Prints out the message to command line | 
|  void | run()Overidden run() method This contains the code we want to run inside the new thread | 
|  java.lang.String | searchAllTheWeb(java.lang.String search)Method searchAllTheWeb | 
| Methods inherited from class java.lang.Thread | 
|---|
| activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic java.lang.String getSearch(java.lang.String s)
s - - the string containing the search criteria
public java.lang.String searchAllTheWeb(java.lang.String search)
search - - the string containing the search criteria
public void print(java.lang.String s)
public void email(java.lang.String msg)
public static java.lang.String getUrlResult(java.lang.String search)
search - - the string representing the search query
        for a particular search engine| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||