public static enum ImgurClient.ImgurType extends Enum<ImgurClient.ImgurType>
Enum Constant and Description |
---|
ALBUM
/a/hash
|
GALLERY
a call to the raw imgur gallery
|
IMAGE
an image
|
Modifier and Type | Method and Description |
---|---|
static ImgurClient.ImgurType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImgurClient.ImgurType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImgurClient.ImgurType ALBUM
public static final ImgurClient.ImgurType IMAGE
public static final ImgurClient.ImgurType GALLERY
public static ImgurClient.ImgurType[] values()
for (ImgurClient.ImgurType c : ImgurClient.ImgurType.values()) System.out.println(c);
public static ImgurClient.ImgurType 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 null