|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Source>
de.umass.lastfm.scrobble.Source
@Deprecated public enum Source
The source of the track. See http://www.last.fm/api/submissions#subs for more information.
| Enum Constant Summary | |
|---|---|
LAST_FM
Deprecated. Last.fm (any mode). |
|
NON_PERSONALIZED_BROADCAST
Deprecated. Non-personalised broadcast (e.g. |
|
PERSONALIZED_BROADCAST
Deprecated. Personalised recommendation except Last.fm (e.g. |
|
UNKNOWN
Deprecated. Source unknown. |
|
USER
Deprecated. Chosen by the user (the most common value, unless you have a reason for choosing otherwise, use this). |
|
| Method Summary | |
|---|---|
String |
getCode()
Deprecated. Returns the corresponding code for this source. |
static Source |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static Source[] |
values()
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Source USER
public static final Source NON_PERSONALIZED_BROADCAST
public static final Source PERSONALIZED_BROADCAST
public static final Source LAST_FM
public static final Source UNKNOWN
| Method Detail |
|---|
public static Source[] values()
for (Source c : Source.values()) System.out.println(c);
public static Source valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||