|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.JikesOutputParser
Parses output from jikes and passes errors and warnings into the right logging channels of Project.
As of Ant 1.2, this class is considered to be dead code by the Ant developers and is unmaintained. Don't use it.
Field Summary | |
protected java.io.BufferedReader |
br
Deprecated. |
protected boolean |
emacsMode
Deprecated. |
protected boolean |
error
Deprecated. |
protected boolean |
errorFlag
Deprecated. |
protected int |
errors
Deprecated. |
protected Task |
task
Deprecated. |
protected int |
warnings
Deprecated. |
Constructor Summary | |
protected |
JikesOutputParser(Task task,
boolean emacsMode)
Deprecated. Construct a new Parser object |
Method Summary | |
protected boolean |
getErrorFlag()
Deprecated. Indicate if there were errors during the compile |
protected void |
parseOutput(java.io.BufferedReader reader)
Deprecated. Parse the output of a jikes compiler |
void |
setProcessErrorStream(java.io.InputStream is)
Deprecated. Ignore. |
void |
setProcessInputStream(java.io.OutputStream os)
Deprecated. Ignore. |
void |
setProcessOutputStream(java.io.InputStream is)
Deprecated. Set the inputstream |
void |
start()
Deprecated. Invokes parseOutput. |
void |
stop()
Deprecated. Ignore. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Task task
protected boolean errorFlag
protected int errors
protected int warnings
protected boolean error
protected boolean emacsMode
protected java.io.BufferedReader br
Constructor Detail |
protected JikesOutputParser(Task task, boolean emacsMode)
task
- - task in which context we are calledMethod Detail |
public void setProcessInputStream(java.io.OutputStream os)
setProcessInputStream
in interface ExecuteStreamHandler
os
- output stream to write to the standard input stream of the
subprocesspublic void setProcessErrorStream(java.io.InputStream is)
setProcessErrorStream
in interface ExecuteStreamHandler
is
- input stream to read from the error stream from the subprocesspublic void setProcessOutputStream(java.io.InputStream is) throws java.io.IOException
setProcessOutputStream
in interface ExecuteStreamHandler
is
- input stream to read from the error stream from the subprocess
java.io.IOException
public void start() throws java.io.IOException
start
in interface ExecuteStreamHandler
java.io.IOException
public void stop()
stop
in interface ExecuteStreamHandler
protected void parseOutput(java.io.BufferedReader reader) throws java.io.IOException
reader
- - Reader used to read jikes's output
java.io.IOException
protected boolean getErrorFlag()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |