Enum JsppCompiler

java.lang.Object
java.lang.Enum<JsppCompiler>
htmlcompiler.compile.js.JsppCompiler
All Implemented Interfaces:
Serializable, Comparable<JsppCompiler>, Constable

public enum JsppCompiler
extends Enum<JsppCompiler>
  • Method Details

    • values

      public static JsppCompiler[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static JsppCompiler valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • newJsppCompiler

      public static ScriptCompiler newJsppCompiler()
    • compileJspp

      public static String compileJspp​(String source, File htmlFile) throws IOException
      Throws:
      IOException
    • compileJspp

      public static String compileJspp​(File jsppFile) throws IOException
      Throws:
      IOException