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 SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedJikesOutputParser(Task task, boolean emacsMode) Deprecated.Construct a new Parser object
- 
Method SummaryModifier 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- 
taskDeprecated.
- 
errorFlagprotected boolean errorFlagDeprecated.
- 
errorsprotected int errorsDeprecated.
- 
warningsprotected int warningsDeprecated.
- 
errorprotected boolean errorDeprecated.
- 
emacsModeprotected boolean emacsModeDeprecated.
- 
brDeprecated.
 
- 
- 
Constructor Details- 
JikesOutputParserDeprecated.Construct a new Parser object- Parameters:
- task- task in which context we are called
- emacsMode- if true output in emacs mode
 
 
- 
- 
Method Details- 
setProcessInputStreamDeprecated.Ignore.- Specified by:
- setProcessInputStreamin interface- ExecuteStreamHandler
- Parameters:
- os- ignored
 
- 
setProcessErrorStreamDeprecated.Ignore.- Specified by:
- setProcessErrorStreamin interface- ExecuteStreamHandler
- Parameters:
- is- ignored
 
- 
setProcessOutputStreamDeprecated.Set the inputstream- Specified by:
- setProcessOutputStreamin interface- ExecuteStreamHandler
- Parameters:
- is- the input stream
- Throws:
- IOException- on error
 
- 
startDeprecated.Invokes parseOutput.- Specified by:
- startin interface- ExecuteStreamHandler
- Throws:
- IOException- on error
 
- 
stoppublic void stop()Deprecated.Ignore.- Specified by:
- stopin interface- ExecuteStreamHandler
 
- 
parseOutputDeprecated.Parse the output of a jikes compiler- Parameters:
- reader- - Reader used to read jikes's output
- Throws:
- IOException- on error
 
- 
getErrorFlagprotected boolean getErrorFlag()Deprecated.Indicate if there were errors during the compile- Returns:
- if errors occurred
 
 
-