Package org.apache.tools.ant.taskdefs
Class JikesOutputParser
java.lang.Object
org.apache.tools.ant.taskdefs.JikesOutputParser
- All Implemented Interfaces:
ExecuteStreamHandler
Deprecated.
since 1.2.
Use Jikes' exit value to detect compilation failure.
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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJikesOutputParser(Task task, boolean emacsMode) Deprecated.Construct a new Parser object -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated.Indicate if there were errors during the compileprotected voidparseOutput(BufferedReader reader) Deprecated.Parse the output of a jikes compilervoidDeprecated.Ignore.voidDeprecated.Ignore.voidDeprecated.Set the inputstreamvoidstart()Deprecated.Invokes parseOutput.voidstop()Deprecated.Ignore.
-
Field Details
-
task
Deprecated. -
errorFlag
protected boolean errorFlagDeprecated. -
errors
protected int errorsDeprecated. -
warnings
protected int warningsDeprecated. -
error
protected boolean errorDeprecated. -
emacsMode
protected boolean emacsModeDeprecated. -
br
Deprecated.
-
-
Constructor Details
-
JikesOutputParser
Deprecated.Construct a new Parser object- Parameters:
task- task in which context we are calledemacsMode- if true output in emacs mode
-
-
Method Details
-
setProcessInputStream
Deprecated.Ignore.- Specified by:
setProcessInputStreamin interfaceExecuteStreamHandler- Parameters:
os- ignored
-
setProcessErrorStream
Deprecated.Ignore.- Specified by:
setProcessErrorStreamin interfaceExecuteStreamHandler- Parameters:
is- ignored
-
setProcessOutputStream
Deprecated.Set the inputstream- Specified by:
setProcessOutputStreamin interfaceExecuteStreamHandler- Parameters:
is- the input stream- Throws:
IOException- on error
-
start
Deprecated.Invokes parseOutput.- Specified by:
startin interfaceExecuteStreamHandler- Throws:
IOException- on error
-
stop
-
parseOutput
Deprecated.Parse the output of a jikes compiler- Parameters:
reader- - Reader used to read jikes's output- Throws:
IOException- on error
-
getErrorFlag
protected boolean getErrorFlag()Deprecated.Indicate if there were errors during the compile- Returns:
- if errors occurred
-