LogStreamHandlerpublic class LogStreamHandler extends PumpStreamHandler Logs standard output and error of a subprocess to the log system of ant. |
Constructors Summary |
---|
public LogStreamHandler(org.apache.tools.ant.Task task, int outlevel, int errlevel)Creates log stream handler
this((ProjectComponent) task, outlevel, errlevel);
| public LogStreamHandler(org.apache.tools.ant.ProjectComponent pc, int outlevel, int errlevel)Creates log stream handler
super(new LogOutputStream(pc, outlevel),
new LogOutputStream(pc, errlevel));
|
Methods Summary |
---|
public void | stop()Stop the log stream handler.
super.stop();
try {
getErr().close();
getOut().close();
} catch (IOException e) {
// plain impossible
throw new BuildException(e);
}
|
|