public interface ExecuteStreamHandler
Execute
to handle input and output stream of
subprocesses.Modifier and Type | Method and Description |
---|---|
void |
setProcessErrorStream(java.io.InputStream is)
Install a handler for the error stream of the subprocess.
|
void |
setProcessInputStream(java.io.OutputStream os)
Install a handler for the input stream of the subprocess.
|
void |
setProcessOutputStream(java.io.InputStream is)
Install a handler for the output stream of the subprocess.
|
void |
start()
Start handling of the streams.
|
void |
stop()
Stop handling of the streams - will not be restarted.
|
void setProcessInputStream(java.io.OutputStream os) throws java.io.IOException
os
- output stream to write to the standard input stream of the subprocessjava.io.IOException
- thrown when an I/O exception occurs.void setProcessErrorStream(java.io.InputStream is) throws java.io.IOException
is
- input stream to read from the error stream from the subprocessjava.io.IOException
- thrown when an I/O exception occurs.void setProcessOutputStream(java.io.InputStream is) throws java.io.IOException
is
- input stream to read from the error stream from the subprocessjava.io.IOException
- thrown when an I/O exception occurs.void start() throws java.io.IOException
java.io.IOException
- thrown when an I/O exception occurs.void stop() throws java.io.IOException
java.io.IOException
- thrown when an I/O exception occurs."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"