public enum ContentTypeEnum extends Enum<ContentTypeEnum>
| Enum Constant and Description |
|---|
CSV |
JSON |
XML |
ZIP_CSV |
ZIP_JSON |
ZIP_XML |
| Modifier and Type | Method and Description |
|---|---|
static ContentTypeEnum |
fromValue(String v) |
static ContentTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentTypeEnum CSV
public static final ContentTypeEnum JSON
public static final ContentTypeEnum XML
public static final ContentTypeEnum ZIP_CSV
public static final ContentTypeEnum ZIP_JSON
public static final ContentTypeEnum ZIP_XML
public static ContentTypeEnum[] values()
for (ContentTypeEnum c : ContentTypeEnum.values()) System.out.println(c);
public static ContentTypeEnum 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 ContentTypeEnum fromValue(String v)
Apache Camel