Modifier and Type | Field and Description |
---|---|
private OutputStream |
errStream |
private InputStream |
inStream |
private boolean |
keepStreamsOpen |
private OutputStream |
outStream |
Constructor and Description |
---|
ProcessContext()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
getErrStream() |
InputStream |
getInStream()
This method gets the input stream that is transferred to the process as
stdin . |
OutputStream |
getOutStream() |
boolean |
isKeepStreamsOpen() |
void |
setErrStream(OutputStream errStream) |
void |
setInStream(InputStream inStream) |
void |
setKeepStreamsOpen(boolean keepStreamsOpen) |
void |
setOutStream(OutputStream outStream) |
private OutputStream outStream
private OutputStream errStream
private InputStream inStream
private boolean keepStreamsOpen
public ProcessContext()
/dev/null
.public OutputStream getOutStream()
public void setOutStream(OutputStream outStream)
outStream
- the outStream to setpublic OutputStream getErrStream()
public void setErrStream(OutputStream errStream)
errStream
- the errStream to setpublic InputStream getInStream()
stdin
.public void setInStream(InputStream inStream)
inStream
- the inStream to setpublic boolean isKeepStreamsOpen()
public void setKeepStreamsOpen(boolean keepStreamsOpen)
keepStreamsOpen
- the keepStreamsOpen to setCopyright © 2001–2016 mmm-Team. All rights reserved.