public abstract class AbstractCompiler extends org.codehaus.plexus.logging.AbstractLogEnabled implements Compiler
| Modifier and Type | Field and Description |
|---|---|
protected static String |
EOL |
protected static String |
PS |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCompiler(CompilerOutputStyle compilerOutputStyle,
String inputFileEnding,
String outputFileEnding,
String outputFile) |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCommandLineprotected AbstractCompiler(CompilerOutputStyle compilerOutputStyle, String inputFileEnding, String outputFileEnding, String outputFile)
public CompilerResult performCompile(CompilerConfiguration configuration) throws CompilerException
CompilerperformCompile in interface Compilerconfiguration - the configuration description of the compilation
to performCompilerException@Deprecated public List<CompilerError> compile(CompilerConfiguration configuration) throws CompilerException
CompilerCompiler.performCompile(CompilerConfiguration) instead.compile in interface Compilerconfiguration - the configuration description of the compilation
to performCompilerExceptionpublic CompilerOutputStyle getCompilerOutputStyle()
getCompilerOutputStyle in interface Compilerpublic String getInputFileEnding(CompilerConfiguration configuration) throws CompilerException
getInputFileEnding in interface CompilerCompilerExceptionpublic String getOutputFileEnding(CompilerConfiguration configuration) throws CompilerException
getOutputFileEnding in interface CompilerCompilerExceptionpublic String getOutputFile(CompilerConfiguration configuration) throws CompilerException
getOutputFile in interface CompilerCompilerExceptionpublic boolean canUpdateTarget(CompilerConfiguration configuration) throws CompilerException
canUpdateTarget in interface CompilerCompilerExceptionprotected static Set<String> getSourceFilesForSourceRoot(CompilerConfiguration config, String sourceLocation)
protected static String[] getSourceFiles(CompilerConfiguration config)
protected static String makeClassName(String fileName, String sourceDir) throws CompilerException
CompilerExceptionCopyright © 2001–2018 Codehaus Plexus. All rights reserved.