|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.PumpStreamHandler org.apache.tools.ant.taskdefs.LogStreamHandler
public class LogStreamHandler
Logs standard output and error of a subprocess to the log system of ant.
Constructor Summary | |
---|---|
LogStreamHandler(ProjectComponent pc,
int outlevel,
int errlevel)
Creates log stream handler |
|
LogStreamHandler(Task task,
int outlevel,
int errlevel)
Creates log stream handler |
Method Summary | |
---|---|
void |
stop()
Stop the log stream handler. |
Methods inherited from class org.apache.tools.ant.taskdefs.PumpStreamHandler |
---|
createProcessErrorPump, createProcessOutputPump, createPump, createPump, getErr, getOut, setProcessErrorStream, setProcessInputStream, setProcessOutputStream, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogStreamHandler(Task task, int outlevel, int errlevel)
task
- the task for whom to logoutlevel
- the loglevel used to log standard outputerrlevel
- the loglevel used to log standard errorpublic LogStreamHandler(ProjectComponent pc, int outlevel, int errlevel)
pc
- the project component for whom to logoutlevel
- the loglevel used to log standard outputerrlevel
- the loglevel used to log standard errorMethod Detail |
---|
public void stop()
stop
in interface ExecuteStreamHandler
stop
in class PumpStreamHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |