Uses of Class
java.lang.ProcessBuilder.Redirect
Packages that use ProcessBuilder.Redirect
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
-
Uses of ProcessBuilder.Redirect in java.lang
Fields in java.lang declared as ProcessBuilder.RedirectModifier and TypeFieldDescriptionstatic ProcessBuilder.Redirect
ProcessBuilder.Redirect.DISCARD
Indicates that subprocess output will be discarded.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.Methods in java.lang that return ProcessBuilder.RedirectModifier 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.Methods in java.lang with parameters of type ProcessBuilder.RedirectModifier 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.