|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cutunes.server.SongData
SongData object is a simple construction designed to nicely abstract a given songs information into a simple object that can be easily passed between methods (and over XML-RPC).
Constructor Summary | |
SongData(java.util.Hashtable h)
Construct takes a Hashtable and extracts all wanted information into separate Strings, ints, Timestamps, etc. |
Method Summary | |
java.lang.String |
getHasSongInfo(int userID)
Debugging method returns nicely formatted information about a the last played date and play count for a given user for this song. |
java.lang.String |
getSongInfo()
Debugging method returns nicely formatted information about a given song. |
java.lang.String |
toString()
Debugging method prints out some information about the song. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SongData(java.util.Hashtable h)
h
- Hashtable containing all song informationMethod Detail |
public java.lang.String getSongInfo()
public java.lang.String getHasSongInfo(int userID)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |