|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
control.Control
public class Control
The control class handling the application logic. This class is responsible for handling the temporal text mining process and initializes the rest of the application.
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 | |
---|---|
Control(boolean gui)
Constructor that initializes the gui. |
Method Summary | |
---|---|
java.lang.String |
getDocReport(int index)
Returns the report of a specific document given by its index. |
static void |
main(java.lang.String[] args)
Main method initializing a new control instance. |
void |
openDataSet(java.lang.String location)
Method for setting the data set to be used in the application. |
void |
run()
Run method containing the process logic. |
void |
runProcess()
Method used to start the temporal text mining process in a separate thread. |
void |
saveDataSet(java.lang.String location)
Method for saving a data set. |
void |
saveReport(java.lang.String location,
java.lang.String report)
Method for saving a report. |
void |
setDataset(java.lang.String url)
|
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 Control(boolean gui)
Method Detail |
---|
public void setDataset(java.lang.String url)
public void openDataSet(java.lang.String location)
location
- The location of the dataset filepublic void saveDataSet(java.lang.String location)
location
- The locationpublic void saveReport(java.lang.String location, java.lang.String report)
location
- The locationreport
- The reportpublic java.lang.String getDocReport(int index)
index
- The index
public void runProcess()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static void main(java.lang.String[] args)
args
- Arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |