public static enum Media.Type extends java.lang.Enum<Media.Type>
Enum Constant and Description |
---|
EDITORIAL
Editorial content.
|
IMAGE
Image content.
|
RATING
Rating content.
|
REVIEW
Review content.
|
UNKNOWN
Unknown content.
|
Modifier and Type | Method and Description |
---|---|
static Media.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Media.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Media.Type UNKNOWN
public static final Media.Type EDITORIAL
EditorialMedia
public static final Media.Type IMAGE
ImageMedia
public static final Media.Type RATING
RatingMedia
public static final Media.Type REVIEW
ReviewMedia
public static Media.Type[] values()
for (Media.Type c : Media.Type.values()) System.out.println(c);
public static Media.Type 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