public enum ImageRequestType extends Enum<ImageRequestType>
Enum Constant and Description |
---|
IMAGE
If the entire image is request.
|
THUMBNAIL
If the image thumbnail is request.
|
Modifier and Type | Method and Description |
---|---|
static ImageRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageRequestType IMAGE
public static final ImageRequestType THUMBNAIL
public static ImageRequestType[] values()
for (ImageRequestType c : ImageRequestType.values()) System.out.println(c);
public static ImageRequestType 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 nullCopyright © 2015. All Rights Reserved.