public enum EContentType extends Enum<EContentType>
Enum Constant and Description |
---|
CSS |
CSV |
EXCEL |
HTML |
IMAGE |
JAVASCRIPT |
JSON |
NONE |
PDF |
PLAIN_TEXT |
SCSS |
SQL |
XML |
Modifier and Type | Method and Description |
---|---|
static EContentType |
parseFilename(String filename) |
static EContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EContentType CSS
public static final EContentType SCSS
public static final EContentType EXCEL
public static final EContentType CSV
public static final EContentType HTML
public static final EContentType IMAGE
public static final EContentType JAVASCRIPT
public static final EContentType JSON
public static final EContentType NONE
public static final EContentType PLAIN_TEXT
public static final EContentType XML
public static final EContentType PDF
public static final EContentType SQL
public static EContentType[] values()
for (EContentType c : EContentType.values()) System.out.println(c);
public static EContentType 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 EContentType parseFilename(String filename)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.