|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.bb.util.Process
public class Process
Eases the invokation of external programs.
| Method Summary | |
|---|---|
static int |
execute(java.lang.String command,
byte[] stdin,
java.io.OutputStream os,
java.lang.String[] env)
Starts an external program (process) passing the specified input to the program and fills an OutputStream with the programs output. |
static int |
execute(java.lang.String command,
byte[] stdin,
java.io.OutputStream os,
java.lang.String[] env,
long timeout)
Starts an external program (process) passing the specified input to the program and fills an OutputStream with the programs output. |
static int |
execute(java.lang.String command,
java.io.InputStream stdin,
java.io.OutputStream os,
java.lang.String[] env,
long timeout)
Starts an external program (process) passing the specified input to the program and fills an OutputStream with the programs output. |
static int |
execute(java.lang.String command,
java.io.InputStream stdin,
java.io.OutputStream os,
java.lang.String[] env,
long timeout,
java.io.File dir)
Starts an external program (process) passing the specified input to the program and fills an OutputStream with the programs output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int execute(java.lang.String command,
byte[] stdin,
java.io.OutputStream os,
java.lang.String[] env)
throws java.io.IOException
command - the complete command line to executestdin - data to fill the programs stdin, or nullos - an output stream which receives the programs outputenv - an environment or null
java.io.IOException - if an i/o error occurs
public static int execute(java.lang.String command,
byte[] stdin,
java.io.OutputStream os,
java.lang.String[] env,
long timeout)
throws java.io.IOException
command - the complete command line to executestdin - data to fill the programs stdin, or nullos - an output stream which receives the programs outputenv - an environment or nulltimeout - a timeout value in ms
java.io.IOException - if an i/o error occurs
public static int execute(java.lang.String command,
java.io.InputStream stdin,
java.io.OutputStream os,
java.lang.String[] env,
long timeout)
throws java.io.IOException
command - the complete command line to executestdin - data to fill the programs stdin, or nullos - an output stream which receives the programs outputenv - an environment or nulltimeout - a timeout value in ms
java.io.IOException - if an i/o error occurs
public static int execute(java.lang.String command,
java.io.InputStream stdin,
java.io.OutputStream os,
java.lang.String[] env,
long timeout,
java.io.File dir)
throws java.io.IOException
command - the complete command line to executestdin - data to fill the programs stdin, or nullos - an output stream which receives the programs outputenv - an environment or nulltimeout - a timeout value in msdir - a File object defining the current dir for the process
java.io.IOException - if an i/o error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||