public interface CommandLineToolInvocationStandardOutputRedirect
Modifier and Type | Method and Description |
---|---|
static CommandLineToolInvocationStandardOutputRedirect |
duplicateToSystemOutput()
Creates a redirection that duplicate the process standard output to the
System#out . |
static CommandLineToolInvocationStandardOutputRedirect |
forwardTo(OutputStream outputStream)
Creates a redirection that forward the process standard output to the specified writer.
|
static CommandLineToolInvocationStandardOutputRedirect duplicateToSystemOutput()
System#out
.CommandLineToolInvocationStandardOutputRedirect
instance that redirect process standard output to System.out
.static CommandLineToolInvocationStandardOutputRedirect forwardTo(OutputStream outputStream)
outputStream
- a output stream that will receive the process's standard output.CommandLineToolInvocationErrorOutputRedirect
instance that redirect the process standard output to the specified output stream, never null.