comirva.io
Class ETPXMLExtractorThread
java.lang.Object
java.lang.Thread
comirva.io.ETPXMLExtractorThread
- All Implemented Interfaces:
- Runnable
public class ETPXMLExtractorThread
- extends Thread
This class implements a thread for extracting
data from an XML-file that contains
an XML-serialized Entity Term Profile.
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 |
prefixTermOccurrences
public static String prefixTermOccurrences
prefixTermFrequencies
public static String prefixTermFrequencies
prefixDocumentFrequencies
public static String prefixDocumentFrequencies
prefixTFxIDFs
public static String prefixTFxIDFs
prefixTerms
public static String prefixTerms
prefixDocumentPaths
public static String prefixDocumentPaths
ETPXMLExtractorThread
public ETPXMLExtractorThread(File f,
Vector ml,
DefaultListModel lm,
Vector mdl,
DefaultListModel lmd,
JLabel jl,
ETPLoaderConfig etplCfg)
- Creates an ETPXMLExtractorThread for loading an XML-serialized entity term profile from File
f
.
- Parameters:
f
- the File which contains the entity term profileml
- the Vector to which the name of the DataMatrix should be added after it has been loadedlm
- the DefaultListModel to add the name of the matrix to the UImdl
- the Vector to which the term list should be addedlmd
- the DefaultListModel to add the name of the term list to the UIjl
- the JLabel representing the status bar (for writing current loading progress)etplCfg
- the ETPLoaderConfig that specifies which data should be loaded
run
public void run()
- This method is called when the thread is started.
The XML-file is deserialized, the data read and extracted.
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
- See Also:
Runnable.run()