public class JikesCompiler extends AbstractCompiler
| Modifier and Type | Field and Description |
|---|---|
private static int |
OUTPUT_BUFFER_SIZE |
EOL, PS| Constructor and Description |
|---|
JikesCompiler() |
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<java.lang.String> |
asList(java.io.File[] files) |
java.lang.String[] |
createCommandLine(CompilerConfiguration config)
Create the command line that would be executed using this configuration.
|
private java.util.List<java.lang.String> |
getBootClassPath() |
private java.io.File |
getDestinationDir(CompilerConfiguration config) |
private CompilerMessage |
parseError(java.lang.String error)
Parse an individual compiler error message
|
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
CompilerMessages |
CompilerResult |
performCompile(CompilerConfiguration config)
Performs the compilation of the project.
|
canUpdateTarget, compile, getCompilerOutputStyle, getInputFileEnding, getOutputFile, getOutputFileEnding, getPathString, getSourceFiles, getSourceFilesForSourceRoot, makeClassName, toStringArrayprivate static final int OUTPUT_BUFFER_SIZE
public CompilerResult performCompile(CompilerConfiguration config) throws CompilerException
CompilerperformCompile in interface CompilerperformCompile in class AbstractCompilerconfig - the configuration description of the compilation
to performCompilerExceptionpublic java.lang.String[] createCommandLine(CompilerConfiguration config) throws CompilerException
Compilerconfig - the CompilerConfiguration describing the compilationCompilerException - if there was an error generating the command
lineprivate java.io.File getDestinationDir(CompilerConfiguration config)
private java.util.List<java.lang.String> getBootClassPath()
private java.util.List<java.lang.String> asList(java.io.File[] files)
protected java.util.List<CompilerMessage> parseStream(java.io.BufferedReader input, java.util.List<CompilerMessage> messages) throws java.io.IOException
CompilerMessagesinput - The error streamjava.io.IOException - If an error occurs during message collectionprivate CompilerMessage parseError(java.lang.String error)
error - The error textCompilerMessage