public class JikesOutputParser extends java.lang.Object implements ExecuteStreamHandler
As of Ant 1.2, this class is considered to be dead code by the Ant developers and is unmaintained. Don't use it.
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
protected |
JikesOutputParser(Task task,
boolean emacsMode)
Deprecated.
Construct a new Parser object
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected Task task
protected boolean errorFlag
protected int errors
protected int warnings
protected boolean error
protected boolean emacsMode
protected java.io.BufferedReader br
protected JikesOutputParser(Task task, boolean emacsMode)
task
- task in which context we are calledemacsMode
- if true output in emacs modepublic void setProcessInputStream(java.io.OutputStream os)
setProcessInputStream
in interface ExecuteStreamHandler
os
- ignoredpublic void setProcessErrorStream(java.io.InputStream is)
setProcessErrorStream
in interface ExecuteStreamHandler
is
- ignoredpublic void setProcessOutputStream(java.io.InputStream is) throws java.io.IOException
setProcessOutputStream
in interface ExecuteStreamHandler
is
- the input streamjava.io.IOException
- on errorpublic void start() throws java.io.IOException
start
in interface ExecuteStreamHandler
java.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 outputjava.io.IOException
- on errorprotected boolean getErrorFlag()