Package org.apache.tools.ant.taskdefs
Class JikesOutputParser
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.JikesOutputParser
 
- 
- All Implemented Interfaces:
- ExecuteStreamHandler
 
 @Deprecated public class JikesOutputParser extends java.lang.Object implements 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 Modifier and Type Field Description protected java.io.BufferedReaderbrDeprecated.protected booleanemacsModeDeprecated.protected booleanerrorDeprecated.protected booleanerrorFlagDeprecated.protected interrorsDeprecated.protected TasktaskDeprecated.protected intwarningsDeprecated.
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedJikesOutputParser(Task task, boolean emacsMode)Deprecated.Construct a new Parser object
 - 
Method SummaryModifier and Type Method Description protected booleangetErrorFlag()Deprecated.Indicate if there were errors during the compileprotected voidparseOutput(java.io.BufferedReader reader)Deprecated.Parse the output of a jikes compilervoidsetProcessErrorStream(java.io.InputStream is)Deprecated.Ignore.voidsetProcessInputStream(java.io.OutputStream os)Deprecated.Ignore.voidsetProcessOutputStream(java.io.InputStream is)Deprecated.Set the inputstreamvoidstart()Deprecated.Invokes parseOutput.voidstop()Deprecated.Ignore.
 
- 
- 
- 
Field Detail- 
taskprotected Task task Deprecated.
 - 
errorFlagprotected boolean errorFlag Deprecated.
 - 
errorsprotected int errors Deprecated.
 - 
warningsprotected int warnings Deprecated.
 - 
errorprotected boolean error Deprecated.
 - 
emacsModeprotected boolean emacsMode Deprecated.
 - 
brprotected java.io.BufferedReader br Deprecated.
 
- 
 - 
Constructor Detail- 
JikesOutputParserprotected JikesOutputParser(Task task, boolean emacsMode) Deprecated.Construct a new Parser object- Parameters:
- task- task in which context we are called
- emacsMode- if true output in emacs mode
 
 
- 
 - 
Method Detail- 
setProcessInputStreampublic void setProcessInputStream(java.io.OutputStream os) Deprecated.Ignore.- Specified by:
- setProcessInputStreamin interface- ExecuteStreamHandler
- Parameters:
- os- ignored
 
 - 
setProcessErrorStreampublic void setProcessErrorStream(java.io.InputStream is) Deprecated.Ignore.- Specified by:
- setProcessErrorStreamin interface- ExecuteStreamHandler
- Parameters:
- is- ignored
 
 - 
setProcessOutputStreampublic void setProcessOutputStream(java.io.InputStream is) throws java.io.IOExceptionDeprecated.Set the inputstream- Specified by:
- setProcessOutputStreamin interface- ExecuteStreamHandler
- Parameters:
- is- the input stream
- Throws:
- java.io.IOException- on error
 
 - 
startpublic void start() throws java.io.IOExceptionDeprecated.Invokes parseOutput.- Specified by:
- startin interface- ExecuteStreamHandler
- Throws:
- java.io.IOException- on error
 
 - 
stoppublic void stop() Deprecated.Ignore.- Specified by:
- stopin interface- ExecuteStreamHandler
 
 - 
parseOutputprotected void parseOutput(java.io.BufferedReader reader) throws java.io.IOExceptionDeprecated.Parse the output of a jikes compiler- Parameters:
- reader- - Reader used to read jikes's output
- Throws:
- java.io.IOException- on error
 
 - 
getErrorFlagprotected boolean getErrorFlag() Deprecated.Indicate if there were errors during the compile- Returns:
- if errors occurred
 
 
- 
 
-