API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang. Process View Source
Author(s)
unascribed
Since
JDK1.0
Version
1.25, 03/30/06
Serial
Hierarchy
 Object
      Process
Implements
Subclasses
Description
publicabstract abstract class Process
  The ProcessBuilder.start() and Runtime.exec methods create a native process and return an instance of a subclass of Process that can be used to control the process and obtain information about it.
Constructors
public Process ()
Methods
Hide/Show inherited methods
publicabstract void destroy ()
  Kills the subprocess.
publicabstract int exitValue ()
  Returns the exit value for the subprocess.
publicabstract InputStream getErrorStream ()
  Gets the error stream of the subprocess.
publicabstract InputStream getInputStream ()
  Gets the input stream of the subprocess.
publicabstract OutputStream getOutputStream ()
  Gets the output stream of the subprocess.
publicabstract int waitFor () throws InterruptedException
  causes the current thread to wait, if necessary, until the process represented by this Process object has terminated.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar