| Enum Constant | Description |
|---|---|
html |
|
javascript |
|
less |
|
sass |
|
stylesheet |
|
typescript |
| Modifier and Type | Field | Description |
|---|---|---|
static java.util.Map<java.lang.String,FileType> |
userInputToType |
| Modifier and Type | Method | Description |
|---|---|---|
static FileType |
detectType(java.lang.String filename) |
|
static FileType |
fromUserInput(java.lang.String userInput) |
|
static FileType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FileType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileType html
public static final FileType stylesheet
public static final FileType less
public static final FileType sass
public static final FileType javascript
public static final FileType typescript
public static final java.util.Map<java.lang.String,FileType> userInputToType
public static FileType[] values()
for (FileType c : FileType.values()) System.out.println(c);
public static FileType 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 FileType fromUserInput(java.lang.String userInput)
public static FileType detectType(java.lang.String filename) throws UnrecognizedFileType
UnrecognizedFileTypeCopyright © 2018. All rights reserved.