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

Constructor Index

 o Win32Process(String[])

Method Index

 o destroy()
Kills the subprocess.
 o exitValue()
Returns the exit value for the subprocess.
 o finalize()
 o getErrorStream()
Returns the an InputStream connected to the error stream of the child process.
 o getInputStream()
Returns a Stream connected to the output of the child process.
 o getOutputStream()
Returns a Stream connected to the input of the child process.
 o waitFor()
Waits for the subprocess to complete.

Constructors

 o Win32Process
  public Win32Process(String cmd[]) throws Exception

Methods

 o getOutputStream
  public OutputStream getOutputStream()
Returns a Stream connected to the input of the child process.
Overrides:
getOutputStream in class Process

 o getInputStream

  public InputStream getInputStream()
Returns a Stream connected to the output of the child process.
Overrides:
getInputStream in class Process

 o getErrorStream

  public InputStream getErrorStream()
Returns the an InputStream connected to the error stream of the child process.
Overrides:
getErrorStream in class Process

 o finalize

  public void finalize()
 o exitValue
  public int exitValue()
Returns the exit value for the subprocess.
Overrides:
exitValue in class Process

 o waitFor

  public int waitFor()
Waits for the subprocess to complete.
Overrides:
waitFor in class Process

 o destroy

  public void destroy()
Kills the subprocess.
Overrides:
destroy in class Process


All Packages    This Package    Previous    Next