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