public static enum PreviewError.Tag extends Enum<PreviewError.Tag>
PreviewError
.Enum Constant and Description |
---|
IN_PROGRESS
This preview generation is still in progress and the file is not
ready for preview yet.
|
PATH
An error occurs when downloading metadata for the file.
|
UNSUPPORTED_CONTENT
The file content is not supported for preview generation.
|
UNSUPPORTED_EXTENSION
The file extension is not supported preview generation.
|
Modifier and Type | Method and Description |
---|---|
static PreviewError.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreviewError.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreviewError.Tag PATH
public static final PreviewError.Tag IN_PROGRESS
public static final PreviewError.Tag UNSUPPORTED_EXTENSION
public static final PreviewError.Tag UNSUPPORTED_CONTENT
public static PreviewError.Tag[] values()
for (PreviewError.Tag c : PreviewError.Tag.values()) System.out.println(c);
public static PreviewError.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