类 Eclipse8JavaCompiler
java.lang.Object
com.sh.common.jci.compilers.AbstractJavaCompiler
com.sh.common.jci.compilers.Eclipse8JavaCompiler
- 所有已实现的接口:
JavaCompiler
Eclipse compiler implemenation
-
字段概要
从类继承的字段 com.sh.common.jci.compilers.AbstractJavaCompiler
problemHandler -
构造器概要
构造器构造器说明Eclipse8JavaCompiler(Eclipse8JavaCompilerSettings pSettings) Eclipse8JavaCompiler(Map pSettings) -
方法概要
修饰符和类型方法说明compile(String[] pSourceFiles, ResourceReader pReader, ResourceStore pStore, ClassLoader pClassLoader, JavaCompilerSettings pSettings) Compiles the java resources "some/path/to/MyJava.java" read through the ResourceReader and then stores the resulting classes in the ResourceStore under "some/path/to/MyJava.class".factory method to create the underlying default settings从类继承的方法 com.sh.common.jci.compilers.AbstractJavaCompiler
compile, compile, setCompilationProblemHandler
-
构造器详细资料
-
Eclipse8JavaCompiler
public Eclipse8JavaCompiler() -
Eclipse8JavaCompiler
-
Eclipse8JavaCompiler
-
-
方法详细资料
-
compile
public CompilationResult compile(String[] pSourceFiles, ResourceReader pReader, ResourceStore pStore, ClassLoader pClassLoader, JavaCompilerSettings pSettings) 从接口复制的说明:JavaCompilerCompiles the java resources "some/path/to/MyJava.java" read through the ResourceReader and then stores the resulting classes in the ResourceStore under "some/path/to/MyJava.class". Note: As these are resource path you always have to use "/" The result of the compilation run including detailed error information is returned as CompilationResult. If you need to get notified already during the compilation process you can register a CompilationProblemHandler. Note: Not all compilers might support this notification mechanism.- 参数:
pSourceFiles- String[]pReader- ResourceReaderpStore- ResourceStorepClassLoader- ClassLoaderpSettings- JavaCompilerSettings- 返回:
- always a CompilationResult
-
createDefaultSettings
从接口复制的说明:JavaCompilerfactory method to create the underlying default settings- 返回:
- JavaCompilerSettings
-