|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Process
public abstract class Process
Instances of class Process provide control of and access to platform processes.
| Constructor Summary | |
|---|---|
Process()
|
|
| Method Summary | |
|---|---|
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 |
abstract OutputStream |
getOutputStream()
Returns the receiver's standard output stream |
abstract int |
waitFor()
Causes the calling thread to wait for the process associated with the receiver to finish executing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Process()
| Method Detail |
|---|
public abstract void destroy()
public abstract int exitValue()
IllegalThreadStateException - If the receiver has not terminated.public abstract InputStream getErrorStream()
Note: This is an InputStream which allows reading of the other threads "stderr".
public abstract InputStream getInputStream()
Note: This is an InputStream which allows reading from the other process' "stdout".
public abstract OutputStream getOutputStream()
Note: This is an OutputStream which allows writing to the other process' "stdin".
public abstract int waitFor()
throws InterruptedException
InterruptedException - If the calling thread is interrupted
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||