public enum FTSourceType extends Enum<FTSourceType>
Modifier and Type | Method and Description |
---|---|
static FTSourceType |
fromString(String artworkType)
Convert a string into an Enum type.
|
static FTSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FTSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FTSourceType ALL
public static final FTSourceType TV
public static final FTSourceType MOVIE
public static final FTSourceType MUSIC
public static FTSourceType[] values()
for (FTSourceType c : FTSourceType.values()) System.out.println(c);
public static FTSourceType 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 FTSourceType fromString(String artworkType)
artworkType
- IllegalArgumentException
- If type is not recognisedCopyright © 2012–2018. All rights reserved.