|
The Meta-Environment API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttoolbus.tool.execution.StreamHandler
public class StreamHandler
Handles the output and error streams of a tool process.
| Field Summary | |
|---|---|
private java.lang.Process |
process
|
private java.lang.String |
toolID
|
| Constructor Summary | |
|---|---|
StreamHandler(java.lang.Process process,
java.lang.String toolID)
Constructor. |
|
| Method Summary | |
|---|---|
void |
destroy()
Forcefully terminates the associated tool process. |
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.lang.Process process
private final java.lang.String toolID
| Constructor Detail |
|---|
public StreamHandler(java.lang.Process process,
java.lang.String toolID)
process - The tool process.toolID - The tool identifier.| Method Detail |
|---|
public void run()
run in interface java.lang.RunnableRunnable.run()public void destroy()
|
The Meta-Environment API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||