java.lang.Object | ||
java.lang.Process |
Instances of class Process provide control of and access to platform processes.
Process() |
abstract | void | destroy() | ||||
Terimates the receiver and closes any associated streams. | ||||||
abstract | int | exitValue() | ||||
Returns the exit value of the receiving Process. | ||||||
abstract | InputStream | getErrorStream() | ||||
Returns the receiver's error output stream. | ||||||
abstract | InputStream | getInputStream() | ||||
Returns the receiver's standard input stream
Note: This is an InputStream which allows reading from the other process' "stdout". |
||||||
abstract | OutputStream | getOutputStream() | ||||
Returns the receiver's standard output stream
Note: This is an OutputStream which allows writing to the other process' "stdin". |
||||||
abstract | int | waitFor() | ||||
Causes the calling thread to wait for the process associated with the receiver to finish executing. |
IllegalThreadStateException | If the receiver has not terminated. |
---|
Note: This is an InputStream which allows reading of the other threads "stderr".
Note: This is an InputStream which allows reading from the other process' "stdout".
Note: This is an OutputStream which allows writing to the other process' "stdin".
InterruptedException | If the calling thread is interrupted |
---|
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:56 |