java.io.Serializable, java.lang.Comparable<TypeScriptCompiler>public enum TypeScriptCompiler extends java.lang.Enum<TypeScriptCompiler>
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
compileTypeScript(java.io.File file) |
|
static java.lang.String |
compileTypeScript(java.io.File file,
java.lang.String code) |
|
static TypeScriptCompiler |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TypeScriptCompiler[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static TypeScriptCompiler[] values()
for (TypeScriptCompiler c : TypeScriptCompiler.values()) System.out.println(c);
public static TypeScriptCompiler valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static java.lang.String compileTypeScript(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String compileTypeScript(java.io.File file,
java.lang.String code)
throws java.io.IOException
java.io.IOExceptionCopyright © 2018. All rights reserved.