comirva.io
Class ETPCreatorThread

java.lang.Object
  extended by java.lang.Thread
      extended by comirva.io.ETPCreatorThread
All Implemented Interfaces:
Runnable

public class ETPCreatorThread
extends Thread

This class implements a thread for creating entity term profiles given a root directory and a term list.


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
ETPCreatorThread(File f, Vector<String> terms, JLabel jl)
          Creates a EntityTermProfileCreatorThread for generating term profiles.
 
Method Summary
 void run()
          This method is called when the thread is started.
 
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

ETPCreatorThread

public ETPCreatorThread(File f,
                        Vector<String> terms,
                        JLabel jl)
Creates a EntityTermProfileCreatorThread for generating term profiles.

Parameters:
f - a File pointing to the root direcotry
terms - a Vector containing the term list based on which the term profile(s) are created
jl - the JLabel representing the status bar (for writing current loading progress)
Method Detail

run

public void run()
This method is called when the thread is started. The ETP-creation process is started.

Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Runnable.run()