Compiler

processing.mode.java

## Class Compiler

- Object
- - Compiler

-     public class Compiler
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Compiler()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `compile(JavaBuild build)` Compile with ECJ.

    - ### Methods inherited from class Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Compiler

          public Compiler()

  - ### Method Detail

    - #### compile

          public static boolean compile(JavaBuild build)
                                 throws SketchException

      Compile with ECJ. See http://j.mp/8paifz for documentation.
      Parameters:
        `sketch` - Sketch object to be compiled, used for placing exceptions
        `buildPath` - Where the temporary files live and will be built from.
      Returns:
        true if successful.
      Throws:
        `RunnerException` - Only if there's a problem. Only then.
        `SketchException`