Compiler
, org.codehaus.plexus.logging.LogEnabled
public class JikesCompiler extends AbstractCompiler
EOL, PS
Constructor | Description |
---|---|
JikesCompiler() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
createCommandLine(CompilerConfiguration config) |
Create the command line that would be executed using this configuration.
|
protected java.util.List<CompilerMessage> |
parseStream(java.io.BufferedReader input,
java.util.List<CompilerMessage> messages) |
Parse the compiler error stream to produce a list of
CompilerMessage s |
CompilerResult |
performCompile(CompilerConfiguration config) |
Performs the compilation of the project.
|
canUpdateTarget, compile, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArray
public CompilerResult performCompile(CompilerConfiguration config) throws CompilerException
Compiler
performCompile
in interface Compiler
performCompile
in class AbstractCompiler
config
- the configuration description of the compilation
to performCompilerException
public java.lang.String[] createCommandLine(CompilerConfiguration config) throws CompilerException
Compiler
config
- the CompilerConfiguration describing the compilationCompilerException
- if there was an error generating the command
lineprotected java.util.List<CompilerMessage> parseStream(java.io.BufferedReader input, java.util.List<CompilerMessage> messages) throws java.io.IOException
CompilerMessage
sinput
- The error streamjava.io.IOException
- If an error occurs during message collectionCopyright © 2018. All rights reserved.