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 ofCompilerMessage
sorg.codehaus.plexus.compiler.CompilerResult
performCompile(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:
performCompile
in interfaceorg.codehaus.plexus.compiler.Compiler
- Overrides:
performCompile
in 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.IOException
Parse the compiler error stream to produce a list ofCompilerMessage
s- Parameters:
input
- The error stream- Returns:
- The list of compiler error messages
- Throws:
java.io.IOException
- If an error occurs during message collection
-
-