Package org.apache.cxf.common.util
Class Compiler
java.lang.Object
org.apache.cxf.common.util.Compiler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
boolean
compileFiles
(File[] files) boolean
compileFiles
(String[] files) boolean
compileFiles
(List<File> files) boolean
internalCompile
(String[] args, int sourceFileIndex) protected boolean
internalJava6Compile
(JavaCompiler compiler, JavaFileManager fileManager, DiagnosticListener<JavaFileObject> listener, Iterable<? extends JavaFileObject> fileList) void
void
setEncoding
(String string) void
setMaxMemory
(long l) void
setOutputDir
(File s) void
void
protected DiagnosticListener<JavaFileObject>
void
setVerbose
(boolean b) protected boolean
useJava6Compiler
(String[] files) protected JavaFileManager
wrapJavaFileManager
(StandardJavaFileManager standardJavaFileManger)
-
Constructor Details
-
Compiler
public Compiler()
-
-
Method Details
-
getErrors
-
getWarnings
-
setMaxMemory
public void setMaxMemory(long l) -
setVerbose
public void setVerbose(boolean b) -
setTarget
-
setOutputDir
-
setOutputDir
-
setClassPath
-
addArgs
-
compileFiles
-
compileFiles
-
compileFiles
-
useJava6Compiler
-
wrapJavaFileManager
-
setupDiagnosticListener
-
internalJava6Compile
protected boolean internalJava6Compile(JavaCompiler compiler, JavaFileManager fileManager, DiagnosticListener<JavaFileObject> listener, Iterable<? extends JavaFileObject> fileList) -
internalCompile
-
setEncoding
-