public static enum ThumbnailError.Tag extends Enum<ThumbnailError.Tag>
ThumbnailError
.Enum Constant and Description |
---|
CONVERSION_ERROR
An error occurs during thumbnail conversion.
|
PATH
An error occurs when downloading metadata for the image.
|
UNSUPPORTED_EXTENSION
The file extension doesn't allow conversion to a thumbnail.
|
UNSUPPORTED_IMAGE
The image cannot be converted to a thumbnail.
|
Modifier and Type | Method and Description |
---|---|
static ThumbnailError.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThumbnailError.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThumbnailError.Tag PATH
public static final ThumbnailError.Tag UNSUPPORTED_EXTENSION
public static final ThumbnailError.Tag UNSUPPORTED_IMAGE
public static final ThumbnailError.Tag CONVERSION_ERROR
public static ThumbnailError.Tag[] values()
for (ThumbnailError.Tag c : ThumbnailError.Tag.values()) System.out.println(c);
public static ThumbnailError.Tag 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