public enum StyleType extends Enum<StyleType>
| Enum Constant and Description |
|---|
css |
less |
minified_css |
sass |
| Modifier and Type | Method and Description |
|---|---|
static StyleType |
toStyleType(File file) |
static StyleType |
toStyleType(String filename) |
static StyleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StyleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyleType minified_css
public static final StyleType css
public static final StyleType less
public static final StyleType sass
public static StyleType[] values()
for (StyleType c : StyleType.values()) System.out.println(c);
public static StyleType 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 StyleType toStyleType(File file) throws UnrecognizedFileType
UnrecognizedFileTypepublic static StyleType toStyleType(String filename) throws UnrecognizedFileType
UnrecognizedFileTypeCopyright © 2019. All rights reserved.