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