public enum ResponseFormatType extends Enum<ResponseFormatType>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ResponseFormatType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseFormatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseFormatType JSON
public static final ResponseFormatType CSV
public static final ResponseFormatType DEBUG
public static final ResponseFormatType JSONAPI
public static ResponseFormatType[] values()
for (ResponseFormatType c : ResponseFormatType.values()) System.out.println(c);
public static ResponseFormatType 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 toString()
toString
in class Enum<ResponseFormatType>
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.