java.io.Serializable, java.lang.Comparable<ScriptType>public enum ScriptType extends java.lang.Enum<ScriptType>
| Enum Constant | Description |
|---|---|
extended_javascript |
|
javascript |
|
minified_javascript |
|
typescript |
| Modifier and Type | Method | Description |
|---|---|---|
static ScriptType |
toJavascriptType(java.io.File file) |
|
static ScriptType |
toJavascriptType(java.lang.String filename) |
|
static ScriptType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ScriptType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptType minified_javascript
public static final ScriptType extended_javascript
public static final ScriptType javascript
public static final ScriptType typescript
public static ScriptType[] values()
for (ScriptType c : ScriptType.values()) System.out.println(c);
public static ScriptType 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 ScriptType toJavascriptType(java.io.File file) throws UnrecognizedFileType
UnrecognizedFileTypepublic static ScriptType toJavascriptType(java.lang.String filename) throws UnrecognizedFileType
UnrecognizedFileTypeCopyright © 2018. All rights reserved.