com.sun.electric.tool.sandbox
Class TechExplorerDriver
java.lang.Object
com.sun.electric.tool.sandbox.TechExplorerDriver
public class TechExplorerDriver
- extends java.lang.Object
Class to launch a TechExplorer process and to communicate with it
Constructor Summary |
TechExplorerDriver(java.lang.ProcessBuilder processBuilder,
java.io.OutputStream redirect)
Creates a new instance of TechExplorerDriver |
TechExplorerDriver(java.lang.String jarPath,
java.io.OutputStream redirect)
Creates a new instance of TechExplorerDriver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TechExplorerDriver
public TechExplorerDriver(java.lang.String jarPath,
java.io.OutputStream redirect)
throws java.io.IOException
- Creates a new instance of TechExplorerDriver
- Throws:
java.io.IOException
TechExplorerDriver
public TechExplorerDriver(java.lang.ProcessBuilder processBuilder,
java.io.OutputStream redirect)
throws java.io.IOException
- Creates a new instance of TechExplorerDriver
- Throws:
java.io.IOException
putCommand
public void putCommand(java.lang.String cmd)
putCommand
public void putCommand(java.lang.String cmd,
java.lang.String args)
terminateOk
protected void terminateOk(java.lang.Object result)
terminateFail
protected void terminateFail(java.lang.Exception e)
closeCommands
public void closeCommands()