Class ProcessData

java.lang.Object
  extended by java.lang.Thread
      extended by ProcessData
All Implemented Interfaces:
java.lang.Runnable

public class ProcessData
extends java.lang.Thread

Class ProcessData is used to create data processing Thread to run the converter.

 List of Methods
=================== ProcessData() - Constructor run() - Process data specified by the GUI state

This code is available at the HTMLtools project on SourceForge at http://htmltools.sourceforge.org/ under the "Common Public License Version 1.0" http://www.opensource.org/licenses/cpl1.0.php.

It was derived and refactored from the open source MAExplorer (http://maexplorer.sourceforge.org/), and Open2Dprot (http://Open2Dprot.sourceforge.net/) Table modules.

$Date: 2009/07/13 11:45:56 $ $Revision: 1.28 $
Copyright 2008, 2009 by Peter Lemkin E-Mail: lemkin@users.sourceforge.net http://lemkingroup.com/


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 HTMLtools cvtT
          Thread version of the converter
private  CvtGUI gui
          Note all GUI global variables are in CvtGUI.java instance.
private  java.lang.String[] guiArgV
          String array created from sGuiArgV to use when running the converter
private  boolean readyFlag
          Ready to do new computation flag.
static long serialVersionUID
           
 java.lang.String sGuiArgV
          Command line string created to use when running the converter used by ProcessData.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ProcessData(CvtGUI gui, java.lang.String sGuiArgV, java.lang.String[] guiArgV)
          ProcessData() - Constructor
 
Method Summary
 void run()
          run() - Process data specified by the GUI state
 
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
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

gui

private CvtGUI gui
Note all GUI global variables are in CvtGUI.java instance.


cvtT

public HTMLtools cvtT
Thread version of the converter


sGuiArgV

public volatile java.lang.String sGuiArgV
Command line string created to use when running the converter used by ProcessData.


guiArgV

private java.lang.String[] guiArgV
String array created from sGuiArgV to use when running the converter


readyFlag

private volatile boolean readyFlag
Ready to do new computation flag. Set false while processing.

Constructor Detail

ProcessData

public ProcessData(CvtGUI gui,
                   java.lang.String sGuiArgV,
                   java.lang.String[] guiArgV)
ProcessData() - Constructor

Parameters:
gui - is an instance of the CvtGUI class
sGuiArgV - is the command arg line as a string
guiArgV - - is arg list for the converter
Method Detail

run

public void run()
run() - Process data specified by the GUI state

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread