public enum EFormResourceType extends Enum<EFormResourceType>
Enum Constant and Description |
---|
CSS |
JAVASCRIPT |
Modifier and Type | Method and Description |
---|---|
static EFormResourceType |
getByExtension(String extension) |
static EFormResourceType |
getByResourceName(String name) |
String |
getFileExtension() |
static EFormResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EFormResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EFormResourceType JAVASCRIPT
public static final EFormResourceType CSS
public static EFormResourceType[] values()
for (EFormResourceType c : EFormResourceType.values()) System.out.println(c);
public static EFormResourceType 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 String getFileExtension()
public static EFormResourceType getByExtension(String extension)
public static EFormResourceType getByResourceName(String name)
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.