|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread comirva.io.MetaDataFileLoaderThread
public class MetaDataFileLoaderThread
This class implements a thread for loading meta-data files (e.g. SOM-labels). The meta-data files must contain ASCII-characters only.
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 | |
---|---|
MetaDataFileLoaderThread(File f)
Creates a MetaDataFileLoaderThread for loading meta-data from File f . |
|
MetaDataFileLoaderThread(File f,
Vector ml)
Creates a MetaDataFileLoaderThread for loading meta-data from File f . |
|
MetaDataFileLoaderThread(File f,
Vector ml,
JLabel jl,
DefaultListModel lm)
Creates a MetaDataFileLoaderThread for loading meta-data from File f . |
Method Summary | |
---|---|
Vector |
getMetaDataFromFile()
Opens the file and loads its content into a Vector-instance which is returned thereafter. |
Vector |
getMetaDataVector()
Returns the Vector-instance into which the file content is loaded. |
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 |
---|
public MetaDataFileLoaderThread(File f, Vector ml, JLabel jl, DefaultListModel lm)
f
.
f
- the File which contains the matrix data (exported from Matlab)ml
- the Vector to which the name of the DataMatrix should be added after it has been loadedjl
- the JLabel representing the status bar (for writing current loading progress)lm
- the DefaultListModel to add the name of the matrix to the UIpublic MetaDataFileLoaderThread(File f, Vector ml)
f
.
f
- the File which contains the matrix data (exported from Matlab)ml
- the Vector to which the name of the DataMatrix should be added after it has been loadedpublic MetaDataFileLoaderThread(File f)
f
.
f
- the File which contains the matrix data (exported from Matlab)Method Detail |
---|
public void run()
run
in interface Runnable
run
in class Thread
Runnable.run()
public Vector getMetaDataFromFile()
public Vector getMetaDataVector()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |