public interface ProcessOutputStreamFactory
OutputStream
instances for the
ManagedProcess
.Modifier and Type | Method and Description |
---|---|
OutputStream |
createErrorProcessOutputStream(String processNamespace)
|
OutputStream |
createStandardProcessOutputStream(String processNamespace,
String[] command)
|
OutputStream createStandardProcessOutputStream(String processNamespace, String[] command) throws IOException
Creates the OutputStream
for stdout
of the
ManagedProcess
.
The OutputStream.close()
is invoked when the
ManagedProcess
completes.
processNamespace
- Name space for the ManagedProcess
.command
- Command to start the ManagedProcess
.OutputStream
.IOException
- If fails to create the OutputStream
.OutputStream createErrorProcessOutputStream(String processNamespace) throws IOException
Creates the OutputStream
for stderr
of the
ManagedProcess
.
The OutputStream.close()
is invoked when the
ManagedProcess
completes.
processNamespace
- Name space for the ManagedProcess
.OutputStream
.IOException
- If fails to create the OutputStream
.Copyright © 2005–2016. All rights reserved.