|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.JikesOutputParser
public class 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 calledemacsMode - if true output in emacs mode| Method Detail |
|---|
public void setProcessInputStream(java.io.OutputStream os)
setProcessInputStream in interface ExecuteStreamHandleros - ignoredpublic void setProcessErrorStream(java.io.InputStream is)
setProcessErrorStream in interface ExecuteStreamHandleris - ignored
public void setProcessOutputStream(java.io.InputStream is)
throws java.io.IOException
setProcessOutputStream in interface ExecuteStreamHandleris - the input stream
java.io.IOException - on error
public void start()
throws java.io.IOException
start in interface ExecuteStreamHandlerjava.io.IOException - on errorpublic 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 - on errorprotected boolean getErrorFlag()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||