public class ExternalProgram
extends java.lang.Object
Constructor and Description |
---|
ExternalProgram(java.lang.String path_to_cmd) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getErrorStream() |
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream() |
static boolean |
isExecuteableFile(java.io.File path_to_cmd_f) |
java.lang.Process |
launch(java.lang.String[] opts) |
int |
waitFor() |
public static boolean isExecuteableFile(java.io.File path_to_cmd_f)
public java.io.InputStream getErrorStream()
public java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()
public java.lang.Process launch(java.lang.String[] opts) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public int waitFor()