FileDocCategorySizeDatePackage
ExecuteStreamHandler.javaAPI DocApache Ant 1.702167Wed Dec 13 06:16:24 GMT 2006org.apache.tools.ant.taskdefs

ExecuteStreamHandler

public interface ExecuteStreamHandler
Used by Execute to handle input and output stream of subprocesses.
since
Ant 1.2

Fields Summary
Constructors Summary
Methods Summary
public voidsetProcessErrorStream(java.io.InputStream is)
Install a handler for the error stream of the subprocess.

param
is input stream to read from the error stream from the subprocess
throws
IOException on error

public voidsetProcessInputStream(java.io.OutputStream os)
Install a handler for the input stream of the subprocess.

param
os output stream to write to the standard input stream of the subprocess
throws
IOException on error

public voidsetProcessOutputStream(java.io.InputStream is)
Install a handler for the output stream of the subprocess.

param
is input stream to read from the error stream from the subprocess
throws
IOException on error

public voidstart()
Start handling of the streams.

throws
IOException on error

public voidstop()
Stop handling of the streams - will not be restarted.