public static enum ThumbnailError.Tag extends java.lang.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(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null