public enum ArtworkCategory extends Enum<ArtworkCategory>
Enum Constant and Description |
---|
CHARACTERART |
CLEARART |
CLEARLOGO |
HDCLEARART |
HDTVLOGO |
SEASONBANNER |
SEASONPOSTER |
SEASONTHUMB |
SHOWBACKGROUND |
TVBANNER |
TVPOSTER |
TVTHUMB |
Modifier and Type | Method and Description |
---|---|
static ArtworkCategory |
fromString(String category)
Convert a string into an Enum type.
|
static ArtworkCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArtworkCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtworkCategory HDTVLOGO
public static final ArtworkCategory HDCLEARART
public static final ArtworkCategory CHARACTERART
public static final ArtworkCategory CLEARLOGO
public static final ArtworkCategory CLEARART
public static final ArtworkCategory SHOWBACKGROUND
public static final ArtworkCategory TVTHUMB
public static final ArtworkCategory SEASONPOSTER
public static final ArtworkCategory SEASONTHUMB
public static final ArtworkCategory TVBANNER
public static final ArtworkCategory TVPOSTER
public static final ArtworkCategory SEASONBANNER
public static ArtworkCategory[] values()
for (ArtworkCategory c : ArtworkCategory.values()) System.out.println(c);
public static ArtworkCategory 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 nullpublic static ArtworkCategory fromString(String category)
category
- IllegalArgumentException
- If type is not recognisedCopyright © 2012–2018. All rights reserved.