Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Field and Description |
---|---|
static ProcessBuilder.Redirect |
ProcessBuilder.Redirect.INHERIT
Indicates that subprocess I/O source or destination will be the
same as those of the current process.
|
static ProcessBuilder.Redirect |
ProcessBuilder.Redirect.PIPE
Indicates that subprocess I/O will be connected to the
current Java process over a pipe.
|
Modifier and Type | Method and Description |
---|---|
static ProcessBuilder.Redirect |
ProcessBuilder.Redirect.appendTo(File file)
Returns a redirect to append to the specified file.
|
static ProcessBuilder.Redirect |
ProcessBuilder.Redirect.from(File file)
Returns a redirect to read from the specified file.
|
ProcessBuilder.Redirect |
ProcessBuilder.redirectError()
Returns this process builder's standard error destination.
|
ProcessBuilder.Redirect |
ProcessBuilder.redirectInput()
Returns this process builder's standard input source.
|
ProcessBuilder.Redirect |
ProcessBuilder.redirectOutput()
Returns this process builder's standard output destination.
|
static ProcessBuilder.Redirect |
ProcessBuilder.Redirect.to(File file)
Returns a redirect to write to the specified file.
|
Modifier and Type | Method and Description |
---|---|
ProcessBuilder |
ProcessBuilder.redirectError(ProcessBuilder.Redirect destination)
Sets this process builder's standard error destination.
|
ProcessBuilder |
ProcessBuilder.redirectInput(ProcessBuilder.Redirect source)
Sets this process builder's standard input source.
|
ProcessBuilder |
ProcessBuilder.redirectOutput(ProcessBuilder.Redirect destination)
Sets this process builder's standard output destination.
|