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:
Compiler, org.codehaus.plexus.logging.LogEnabled

public class JikesCompiler
extends AbstractCompiler


Field Summary
 
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(CompilerConfiguration config)
           
 java.lang.String[] createCommandLine(CompilerConfiguration config)
           
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
 

Constructor Detail

JikesCompiler

public JikesCompiler()
Method Detail

compile

public java.util.List compile(CompilerConfiguration config)
                       throws CompilerException
Throws:
CompilerException

createCommandLine

public java.lang.String[] createCommandLine(CompilerConfiguration config)
                                     throws CompilerException
Throws:
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


Copyright © 2001-2010 Codehaus. All Rights Reserved.