类 Eclipse8JavaCompiler

java.lang.Object
com.sh.common.jci.compilers.AbstractJavaCompiler
com.sh.common.jci.compilers.Eclipse8JavaCompiler
所有已实现的接口:
JavaCompiler

public final class Eclipse8JavaCompiler extends AbstractJavaCompiler
Eclipse compiler implemenation
  • 构造器详细资料

    • Eclipse8JavaCompiler

      public Eclipse8JavaCompiler()
    • Eclipse8JavaCompiler

      public Eclipse8JavaCompiler(Map pSettings)
    • Eclipse8JavaCompiler

      public Eclipse8JavaCompiler(Eclipse8JavaCompilerSettings pSettings)
  • 方法详细资料

    • compile

      public CompilationResult compile(String[] pSourceFiles, ResourceReader pReader, ResourceStore pStore, ClassLoader pClassLoader, JavaCompilerSettings pSettings)
      从接口复制的说明: JavaCompiler
      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". 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 - ResourceReader
      pStore - ResourceStore
      pClassLoader - ClassLoader
      pSettings - JavaCompilerSettings
      返回:
      always a CompilationResult
    • createDefaultSettings

      public JavaCompilerSettings createDefaultSettings()
      从接口复制的说明: JavaCompiler
      factory method to create the underlying default settings
      返回:
      JavaCompilerSettings