Class java.lang.Win32Process
All Packages This Package Previous Next
Class java.lang.Win32Process
java.lang.Object
|
+----java.lang.Process
|
+----java.lang.Win32Process
-
public class
Win32Process
-
extends Process
-
Win32Process(String[])
-
-
destroy()
-
Kills the subprocess.
-
exitValue()
-
Returns the exit value for the subprocess.
-
finalize()
-
-
getErrorStream()
-
Returns the an InputStream connected to the error stream of the child process.
-
getInputStream()
-
Returns a Stream connected to the output of the child process.
-
getOutputStream()
-
Returns a Stream connected to the input of the child process.
-
waitFor()
-
Waits for the subprocess to complete.
Win32Process
public Win32Process(String cmd[]) throws Exception
getOutputStream
public OutputStream getOutputStream()
-
Returns a Stream connected to the input of the child process.
-
Overrides:
-
getOutputStream in class Process
getInputStream
public InputStream getInputStream()
-
Returns a Stream connected to the output of the child process.
-
Overrides:
-
getInputStream in class Process
getErrorStream
public InputStream getErrorStream()
-
Returns the an InputStream connected to the error stream of the child process.
-
Overrides:
-
getErrorStream in class Process
finalize
public void finalize()
exitValue
public int exitValue()
-
Returns the exit value for the subprocess.
-
Overrides:
-
exitValue in class Process
waitFor
public int waitFor()
-
Waits for the subprocess to complete.
-
Overrides:
-
waitFor in class Process
destroy
public void destroy()
-
Kills the subprocess.
-
Overrides:
-
destroy in class Process
All Packages This Package Previous Next