API Overview API Index Package Overview Direct link to this page
Apache Ant 1.7.1
  org.apache.tools.ant.taskdefs. LogStreamHandler View Source
Author(s)
Since
Ant 1.2
Version
Serial
Hierarchy
 Object
      PumpStreamHandler
          LogStreamHandler
Implements
Subclasses
Description
public class LogStreamHandler
  Logs standard output and error of a subprocess to the log system of ant.
See also:   
Constructors
public LogStreamHandler (ProjectComponent pc, int outlevel, int errlevel)
  Creates log stream handler
public LogStreamHandler (Task task, int outlevel, int errlevel)
  Creates log stream handler
Methods
Hide/Show inherited methods
pack-private StreamPumper createInputPump (java.io.InputStream is, java.io.OutputStream os, boolean closeWhenExhausted) [Inherited From PumpStreamHandler]
  Creates a stream pumper to copy the given input stream to the given output stream.
protected void createProcessErrorPump (java.io.InputStream is, java.io.OutputStream os) [Inherited From PumpStreamHandler]
  Create the pump to handle error output.
protected void createProcessOutputPump (java.io.InputStream is, java.io.OutputStream os) [Inherited From PumpStreamHandler]
  Create the pump to handle process output.
protected java.lang.Thread createPump (java.io.InputStream is, java.io.OutputStream os) [Inherited From PumpStreamHandler]
  Creates a stream pumper to copy the given input stream to the given output stream.
protected java.lang.Thread createPump (java.io.InputStream is, java.io.OutputStream os, boolean closeWhenExhausted) [Inherited From PumpStreamHandler]
  Creates a stream pumper to copy the given input stream to the given output stream.
protected java.io.OutputStream getErr () [Inherited From PumpStreamHandler]
  Get the error stream.
protected java.io.OutputStream getOut () [Inherited From PumpStreamHandler]
  Get the output stream.
public void setProcessErrorStream (java.io.InputStream is) [Inherited From PumpStreamHandler]
  Set the InputStream from which to read the standard error of the process.
public void setProcessInputStream (java.io.OutputStream os) [Inherited From PumpStreamHandler]
  Set the OutputStream by means of which input can be sent to the process.
public void setProcessOutputStream (java.io.InputStream is) [Inherited From PumpStreamHandler]
  Set the InputStream from which to read the standard output of the process.
public void start () [Inherited From PumpStreamHandler]
Start the Threads.
public void stop () [Overrides PumpStreamHandler]
Stop the log stream handler.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar