org.apache.tools.ant.taskdefs
Class JikesOutputParser
java.lang.Object
|
+--org.apache.tools.ant.taskdefs.JikesOutputParser
- public class JikesOutputParser
- extends java.lang.Object
Parses output from jikes and
passes errors and warnings
into the right logging channels of Project.
TODO:
Parsing could be much better
- Author:
- skanthak@muehlheim.de
Constructor Summary |
protected |
JikesOutputParser(Task task,
boolean emacsMode)
Construct a new Parser object |
Method Summary |
protected boolean |
getErrorFlag()
Indicate if there were errors during the compile |
protected void |
parseOutput(java.io.BufferedReader reader)
Parse the output of a jikes compiler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
task
protected Task task
errorFlag
protected boolean errorFlag
errors
protected int errors
warnings
protected int warnings
error
protected boolean error
emacsMode
protected boolean emacsMode
JikesOutputParser
protected JikesOutputParser(Task task,
boolean emacsMode)
- Construct a new Parser object
- Parameters:
task
- - task in whichs context we are called
parseOutput
protected void parseOutput(java.io.BufferedReader reader)
throws java.io.IOException
- Parse the output of a jikes compiler
- Parameters:
reader
- - Reader used to read jikes's output
getErrorFlag
protected boolean getErrorFlag()
- Indicate if there were errors during the compile
- Returns:
- if errors ocured
Copyright © 2000 Apache Software Foundation. All Rights Reserved.