public enum TypeScriptCompiler extends Enum<TypeScriptCompiler>
| Modifier and Type | Method and Description |
|---|---|
static String |
compileTypeScript(File file) |
static String |
compileTypeScript(File file,
String code) |
static TypeScriptCompiler |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static String compileTypeScript(File file) throws IOException
IOExceptionpublic static String compileTypeScript(File file, String code) throws IOException
IOExceptionCopyright © 2019. All rights reserved.