Class Compiler


  • public class Compiler
    extends java.lang.Object
    A convenience front end for getting standard compilations done. All compile() routines generate classes to the filesystem.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Compiler DEFAULT  
    • Constructor Summary

      Constructors 
      Constructor Description
      Compiler()
      Initializes the Compiler with default configuration.
      Compiler​(CompilerConfiguration configuration)
      Initializes the Compiler with the specified configuration.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void compile​(java.io.File file)
      Compiles a single File.
      void compile​(java.io.File[] files)
      Compiles a series of Files.
      void compile​(java.lang.String[] files)
      Compiles a series of Files from file names.
      void compile​(java.lang.String name, java.lang.String code)
      Compiles a string of code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait