|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
comirva.io.AudioFileLoaderThread
public class AudioFileLoaderThread
This class implements a thread for loading (uncompressed) audio data files.
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 |
Constructor Summary | |
---|---|
AudioFileLoaderThread(java.io.File f)
Creates a MatrixDataFileLoaderThread for loading a data matrix from File f . |
|
AudioFileLoaderThread(java.io.File f,
java.util.Vector ml)
Creates a MatrixDataFileLoaderThread for loading a data matrix from File f . |
|
AudioFileLoaderThread(java.io.File f,
java.util.Vector ml,
javax.swing.JLabel jl,
javax.swing.DefaultListModel lm)
Creates a MatrixDataFileLoaderThread for loading a data matrix from File f . |
Method Summary | |
---|---|
DataMatrix |
getDataMatrix()
Returns the DataMatrix-instance into which the audio 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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AudioFileLoaderThread(java.io.File f, java.util.Vector ml, javax.swing.JLabel jl, javax.swing.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 AudioFileLoaderThread(java.io.File f, java.util.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 AudioFileLoaderThread(java.io.File f)
f
.
f
- the File which contains the matrix data (exported from Matlab)Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Runnable.run()
public DataMatrix getDataMatrix()
DataMatrix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |