org.codehaus.plexus.compiler.jikes
Class JikesCompiler

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.plexus.compiler.AbstractCompiler
          extended by org.codehaus.plexus.compiler.jikes.JikesCompiler
All Implemented Interfaces:
org.codehaus.plexus.compiler.Compiler, org.codehaus.plexus.logging.LogEnabled

public class JikesCompiler
extends org.codehaus.plexus.compiler.AbstractCompiler


Field Summary
private static int OUTPUT_BUFFER_SIZE
           
 
Fields inherited from class org.codehaus.plexus.compiler.AbstractCompiler
EOL, PS
 
Fields inherited from interface org.codehaus.plexus.compiler.Compiler
ROLE
 
Constructor Summary
JikesCompiler()
           
 
Method Summary
 java.util.List compile(org.codehaus.plexus.compiler.CompilerConfiguration config)
           
 java.lang.String[] createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration config)
           
private  org.codehaus.plexus.compiler.CompilerError parseError(java.lang.String error)
          Parse an individual compiler error message
protected  java.util.List parseStream(java.io.BufferedReader input, java.util.List messages)
          Parse the compiler error stream to produce a list of CompilerErrors
 
Methods inherited from class org.codehaus.plexus.compiler.AbstractCompiler
canUpdateTarget, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArray
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPUT_BUFFER_SIZE

private static final int OUTPUT_BUFFER_SIZE
See Also:
Constant Field Values
Constructor Detail

JikesCompiler

public JikesCompiler()
Method Detail

compile

public java.util.List compile(org.codehaus.plexus.compiler.CompilerConfiguration config)
                       throws org.codehaus.plexus.compiler.CompilerException
Throws:
org.codehaus.plexus.compiler.CompilerException

parseStream

protected java.util.List parseStream(java.io.BufferedReader input,
                                     java.util.List messages)
                              throws java.io.IOException
Parse the compiler error stream to produce a list of CompilerErrors

Parameters:
input - The error stream
Returns:
The list of compiler error messages
Throws:
java.io.IOException - If an error occurs during message collection

parseError

private org.codehaus.plexus.compiler.CompilerError parseError(java.lang.String error)
Parse an individual compiler error message

Parameters:
error - The error text
Returns:
A mssaged CompilerError

createCommandLine

public java.lang.String[] createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration config)
                                     throws org.codehaus.plexus.compiler.CompilerException
Throws:
org.codehaus.plexus.compiler.CompilerException