Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
int |
NUMERIC
Flag used to specify the type of data to be loaded.
|
int |
OBJECT
Flag used to specify the type of data to be loaded.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
LoadData()
Instantiate the class
|
LoadData(DataSet d)
Instantiate the class
|
Modifier and Type | Method and Description |
---|---|
boolean |
finished() |
double[] |
getArray() |
DataSet |
getDataSet() |
int |
length() |
void |
loadArray(URL file)
Start loading the data into an Array.
|
void |
loadArray(URL file,
Object drawable)
Start loading the data into an array.
|
DataSet |
loadDataSet(URL file)
Start loading the data into a/the DataSet.
|
DataSet |
loadDataSet(URL file,
Object drawable)
Start loading the data into a/the DataSet.
|
void |
run()
The method to be run as a seperate thread.
|
boolean |
started() |
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
public final int NUMERIC
public final int OBJECT
public LoadData()
public LoadData(DataSet d)
d
- DataSet to load the data into.public DataSet loadDataSet(URL file)
file
- URL of data filepublic void loadArray(URL file)
file
- URL of data filepublic DataSet loadDataSet(URL file, Object drawable)
file
- URL of data filedrawable
- An object that can be drawn to that will indicate
that data is loading. eg. An applet or the Graph2D canvas.public void loadArray(URL file, Object drawable)
file
- URL of data filedrawable
- An object that can be drawn to that will indicate
that data is loading. eg. An applet or the Graph2D canvas.public void run()
public DataSet getDataSet()
public double[] getArray()
public boolean started()
public boolean finished()
public int length()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics