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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUpdateTarget(CompilerConfiguration configuration) |
CompilerOutputStyle |
getCompilerOutputStyle() |
String |
getInputFileEnding(CompilerConfiguration configuration) |
String |
getOutputFile(CompilerConfiguration configuration) |
String |
getOutputFileEnding(CompilerConfiguration configuration) |
static String |
getPathString(List<String> pathElements) |
protected static String[] |
getSourceFiles(CompilerConfiguration config) |
protected static Set<String> |
getSourceFilesForSourceRoot(CompilerConfiguration config,
String sourceLocation) |
protected static String |
makeClassName(String fileName,
String sourceDir) |
protected static String[] |
toStringArray(List<String> arguments)
Deprecated.
use (String[]) arguments.toArray( new String[ arguments.size() ] ); instead
|
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompile, createCommandLineprotected AbstractCompiler(CompilerOutputStyle compilerOutputStyle, String inputFileEnding, String outputFileEnding, String outputFile)
public 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 © 2015. All rights reserved.