Package de.umass.lastfm.scrobble
Class SubmissionData
java.lang.Object
de.umass.lastfm.scrobble.SubmissionData
Deprecated.
The 1.2.x scrobble protocol has now been deprecated in favour of the 2.0 protocol which is part of the Last.fm web services
API.
Bean that contains track information.
- Author:
- Janni Kovacs
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new SubmissionData object based on a String returned bytoString()
.SubmissionData
(String artist, String track, String album, int length, int tracknumber, Source source, long startTime) Deprecated.SubmissionData
(String artist, String track, String album, int length, int tracknumber, Source source, Rating rating, long startTime) Deprecated.SubmissionData
(String artist, String track, String album, int length, int tracknumber, Source source, Rating rating, long startTime, String recommendationKey) Deprecated. -
Method Summary
-
Constructor Details
-
SubmissionData
public SubmissionData(String artist, String track, String album, int length, int tracknumber, Source source, long startTime) Deprecated. -
SubmissionData
public SubmissionData(String artist, String track, String album, int length, int tracknumber, Source source, Rating rating, long startTime) Deprecated. -
SubmissionData
public SubmissionData(String artist, String track, String album, int length, int tracknumber, Source source, Rating rating, long startTime, String recommendationKey) Deprecated. -
SubmissionData
Deprecated.Creates a new SubmissionData object based on a String returned bytoString()
.- Parameters:
s
- A String
-
-
Method Details
-
toString
Deprecated.Returns a String representation of this submission with the fields separated by &. Order of the fields is:
artist&track&startTime&Source&RecommendationKey&Rating&length&album&tracknumber
Note that: - Values may possibly benull
or empty - enum values such as Rating and Source arenull
or their constant name is used (i.e. "LOVE") - all string values (artist, track, album) are utf8-url-encoded
-