comirva.mlearn
Class WebTermExtractionThread

java.lang.Object
  extended by java.lang.Thread
      extended by comirva.mlearn.WebTermExtractionThread
All Implemented Interfaces:
cp.net.search.SearchengineConfig, Runnable

 class WebTermExtractionThread
extends Thread
implements cp.net.search.SearchengineConfig


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
WebTermExtractionThread(String[] artists, String queryconstraint)
           
 
Method Summary
 void addThreadListener(cp.util.ThreadListener threadlistener)
           
 Hashtable<String,int[]> getArtistsAndTermVectors()
           
 int getIntervalBetweenRetries()
           
 int getNumberOfRequestedPages()
           
 int getNumberOfRetries()
           
 String getSearchengineURL()
           
 void run()
          When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebTermExtractionThread

public WebTermExtractionThread(String[] artists,
                               String queryconstraint)
Method Detail

addThreadListener

public void addThreadListener(cp.util.ThreadListener threadlistener)

run

public void run()
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

Specified by:
run in interface Runnable
Overrides:
run in class Thread

getArtistsAndTermVectors

public Hashtable<String,int[]> getArtistsAndTermVectors()

getNumberOfRetries

public int getNumberOfRetries()
Specified by:
getNumberOfRetries in interface cp.net.search.SearchengineConfig

getIntervalBetweenRetries

public int getIntervalBetweenRetries()
Specified by:
getIntervalBetweenRetries in interface cp.net.search.SearchengineConfig

getNumberOfRequestedPages

public int getNumberOfRequestedPages()
Specified by:
getNumberOfRequestedPages in interface cp.net.search.SearchengineConfig

getSearchengineURL

public String getSearchengineURL()
Specified by:
getSearchengineURL in interface cp.net.search.SearchengineConfig