Class besiex.FrIJDE.AbstractClasses.FrIJDEProcessRunnerForTool
All Packages Class Hierarchy This Package Previous Next Index
Class besiex.FrIJDE.AbstractClasses.FrIJDEProcessRunnerForTool
java.lang.Object
|
+----java.lang.Thread
|
+----besiex.FrIJDE.AbstractClasses.FrIJDEProcessRunnerForTool
- public class FrIJDEProcessRunnerForTool
- extends Thread
Some FrIJDETools need to run executable code and capture their output; these FrIJDETools can act as interfaces for
previously developed code such as Sun's Javac, Java, etc. This class makes it easier for these kinds
of FrIJDETools to be developed.
- Version:
- 1.00, 24 February 1996
Changes from last version
- Author:
- Benjamin "Quincy" Cabell V, Besiex Software
-
parent
- Parent FrIJDETool.
-
runningProcess
- The handle of the process.
-
FrIJDEProcessRunnerForTool(FrIJDETool, String)
- The constructor used to create the process to run.
-
ProcessEnded()
- When the process is ended, this method is called.
-
ProcessLineOutputHandler(String)
- This method is called every time the process this class runs returns a line of output.
-
ProcessStarted()
- When the process is started, this method is called.
-
run()
- This method is executed by the constructor.
parent
public FrIJDETool parent
- Parent FrIJDETool.
runningProcess
public Process runningProcess
- The handle of the process.
FrIJDEProcessRunnerForTool
public FrIJDEProcessRunnerForTool(FrIJDETool theParent,
String theCommandLine)
- The constructor used to create the process to run.
- Parameters:
- theParent - The FrIJDETool which instantiates this class.
- theCommandLine - The String to use to execute the process.
ProcessLineOutputHandler
public abstract String ProcessLineOutputHandler(String theProcessOutputAsString)
- This method is called every time the process this class runs returns a line of output. The response to
that output is returned by this method and passed into the process as input.
- Returns:
- The String to pass as input to the process.
ProcessStarted
public abstract void ProcessStarted()
- When the process is started, this method is called.
ProcessEnded
public abstract void ProcessEnded()
- When the process is ended, this method is called.
run
public void run()
- This method is executed by the constructor.
- Overrides:
- run in class Thread
All Packages Class Hierarchy This Package Previous Next Index