org.forester.util
Class ExternalProgram
java.lang.Object
org.forester.util.ExternalProgram
public class ExternalProgram
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalProgram
public ExternalProgram(java.lang.String path_to_cmd)
isExecuteableFile
public static boolean isExecuteableFile(java.io.File path_to_cmd_f)
getErrorStream
public java.io.InputStream getErrorStream()
getInputStream
public java.io.InputStream getInputStream()
getOutputStream
public java.io.OutputStream getOutputStream()
launch
public java.lang.Process launch(java.lang.String[] opts)
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
waitFor
public int waitFor()