类 JavaCompilerFactory

java.lang.Object
com.sh.common.jci.compilers.JavaCompilerFactory

public final class JavaCompilerFactory extends Object
Description: Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
  • 构造器详细资料

    • JavaCompilerFactory

      public JavaCompilerFactory()
  • 方法详细资料

    • getInstance

      public static JavaCompilerFactory getInstance()
      返回:
      JavaCompilerFactory
    • geDefaultCompiler

      public static JavaCompiler geDefaultCompiler()
    • createCompiler

      public JavaCompiler createCompiler(String pHint)
      Tries to guess the class name by convention. So for compilers following the naming convention com.sh.common.jci.compilers.SomeJavaCompiler you can use the short-hands "some"/"Some"/"SOME". Otherwise you have to provide the full class name. The compiler is getting instanciated via (cached) reflection.
      参数:
      pHint - String
      返回:
      JavaCompiler or null