public static final class ProcessHandler.Redirect extends Object
Modifier and Type | Field and Description |
---|---|
static ProcessHandler.Redirect |
INHERIT
Indicates that subprocess I/O source or destination will be the same as those of the
current process.
|
static ProcessHandler.Redirect |
PIPE
Indicates that subprocess I/O will be connected to the current Java process using a pipe.
|
Modifier and Type | Method and Description |
---|---|
static ProcessHandler.Redirect |
createRedirectToStream(OutputStream stream)
Creates a ProcessCommand.
|
boolean |
equals(Object obj) |
OutputStream |
getOutputStream()
Returns the output stream to redirect to.
|
int |
hashCode() |
String |
toString() |
public static final ProcessHandler.Redirect PIPE
public static final ProcessHandler.Redirect INHERIT
public OutputStream getOutputStream()
public static ProcessHandler.Redirect createRedirectToStream(OutputStream stream)