public enum TVMethod extends Enum<TVMethod> implements AppendToResponseMethod
| Enum Constant and Description |
|---|
ALTERNATIVE_TITLES |
CHANGES |
CONTENT_RATINGS |
CREDITS |
EXTERNAL_IDS |
IMAGES |
KEYWORDS |
SIMILAR |
TRANSLATIONS |
VIDEOS |
| Modifier and Type | Method and Description |
|---|---|
static TVMethod |
fromString(String method)
Convert a string into an Enum type
|
String |
getPropertyString()
Get the string to use in the URL
|
static TVMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TVMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TVMethod ALTERNATIVE_TITLES
public static final TVMethod CHANGES
public static final TVMethod CONTENT_RATINGS
public static final TVMethod CREDITS
public static final TVMethod EXTERNAL_IDS
public static final TVMethod IMAGES
public static final TVMethod KEYWORDS
public static final TVMethod SIMILAR
public static final TVMethod TRANSLATIONS
public static final TVMethod VIDEOS
public static TVMethod[] values()
for (TVMethod c : TVMethod.values()) System.out.println(c);
public static TVMethod 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 String getPropertyString()
getPropertyString in interface AppendToResponseMethodpublic static TVMethod fromString(String method)
method - IllegalArgumentException - If type is not recognisedCopyright © 2012–2017. All rights reserved.