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, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compile, createCommandLine
protected AbstractCompiler(CompilerOutputStyle compilerOutputStyle, String inputFileEnding, String outputFileEnding, String outputFile)
public CompilerOutputStyle getCompilerOutputStyle()
getCompilerOutputStyle
in interface Compiler
public String getInputFileEnding(CompilerConfiguration configuration) throws CompilerException
getInputFileEnding
in interface Compiler
CompilerException
public String getOutputFileEnding(CompilerConfiguration configuration) throws CompilerException
getOutputFileEnding
in interface Compiler
CompilerException
public String getOutputFile(CompilerConfiguration configuration) throws CompilerException
getOutputFile
in interface Compiler
CompilerException
public boolean canUpdateTarget(CompilerConfiguration configuration) throws CompilerException
canUpdateTarget
in interface Compiler
CompilerException
protected static Set<String> getSourceFilesForSourceRoot(CompilerConfiguration config, String sourceLocation)
protected static String[] getSourceFiles(CompilerConfiguration config)
protected static String makeClassName(String fileName, String sourceDir) throws CompilerException
CompilerException
Copyright © 2015. All rights reserved.