Package org.forester.util
Class ExternalProgram
- java.lang.Object
-
- org.forester.util.ExternalProgram
-
public class ExternalProgram extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ExternalProgram(java.lang.String path_to_cmd)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
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()
-
-