org.apache.tools.ant.taskdefs
Class LogStreamHandler

java.lang.Object
  |
  +--org.apache.tools.ant.taskdefs.PumpStreamHandler
        |
        +--org.apache.tools.ant.taskdefs.LogStreamHandler
All Implemented Interfaces:
ExecuteStreamHandler

public class LogStreamHandler
extends PumpStreamHandler

Logs standard output and error of a subprocess to the log system of ant.


Constructor Summary
LogStreamHandler(Task task, int outlevel, int errlevel)
          Creates a new instance of this class.
 
Methods inherited from class org.apache.tools.ant.taskdefs.PumpStreamHandler
createProcessErrorPump, createProcessOutputPump, createPump, setProcessErrorStream, setProcessInputStream, setProcessOutputStream, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogStreamHandler

public LogStreamHandler(Task task,
                        int outlevel,
                        int errlevel)
Creates a new instance of this class.
Parameters:
task - the task for whom to log
outlevel - the loglevel used to log standard output
errlevel - the loglevel used to log standard error


Includes only those classes commonly used by task writers. The Ant 1.3 distribution includes complete Javadoc for all classes included in Ant, though in most cases these are not intended as APIs.