Class JikesCompiler
- java.lang.Object
-
- org.codehaus.plexus.logging.AbstractLogEnabled
-
- org.codehaus.plexus.compiler.AbstractCompiler
-
- 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
-
-
Constructor Summary
Constructors Constructor Description JikesCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration config)protected java.util.List<org.codehaus.plexus.compiler.CompilerMessage>parseStream(java.io.BufferedReader input, java.util.List<org.codehaus.plexus.compiler.CompilerMessage> messages)Parse the compiler error stream to produce a list ofCompilerMessagesorg.codehaus.plexus.compiler.CompilerResultperformCompile(org.codehaus.plexus.compiler.CompilerConfiguration config)-
Methods inherited from class org.codehaus.plexus.compiler.AbstractCompiler
canUpdateTarget, compile, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArray
-
-
-
-
Method Detail
-
performCompile
public org.codehaus.plexus.compiler.CompilerResult performCompile(org.codehaus.plexus.compiler.CompilerConfiguration config) throws org.codehaus.plexus.compiler.CompilerException- Specified by:
performCompilein interfaceorg.codehaus.plexus.compiler.Compiler- Overrides:
performCompilein classorg.codehaus.plexus.compiler.AbstractCompiler- Throws:
org.codehaus.plexus.compiler.CompilerException
-
createCommandLine
public java.lang.String[] createCommandLine(org.codehaus.plexus.compiler.CompilerConfiguration config) throws org.codehaus.plexus.compiler.CompilerException- Throws:
org.codehaus.plexus.compiler.CompilerException
-
parseStream
protected java.util.List<org.codehaus.plexus.compiler.CompilerMessage> parseStream(java.io.BufferedReader input, java.util.List<org.codehaus.plexus.compiler.CompilerMessage> messages) throws java.io.IOExceptionParse the compiler error stream to produce a list ofCompilerMessages- Parameters:
input- The error stream- Returns:
- The list of compiler error messages
- Throws:
java.io.IOException- If an error occurs during message collection
-
-