|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.chaosserver.jtunes.playlist.PlayList
Holds a PlayList.
Field Summary | |
protected String |
originalFileName
Holds the original filename of the playlist. |
protected List |
playListEntries
Holds the entries in the playlist. |
Constructor Summary | |
PlayList()
Constructs a new empty playlist. |
Method Summary | |
void |
addPlayListEntry(PlayListEntry playListEntry)
Adds an entry into the playlist. |
String |
getOriginalFileName()
Gets the name of the original playlist file. |
List |
getPlayListEntries()
Gets the list of PlayListEntries. |
void |
setOriginalFileName(String originalFileName)
Sets the name of the original playlist file. |
int |
size()
Returns the number of entries in the list. |
String |
toString()
Converts the object to a string representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected String originalFileName
protected List playListEntries
Constructor Detail |
public PlayList()
Method Detail |
public void setOriginalFileName(String originalFileName)
originalFileName
- the original playlist filepublic String getOriginalFileName()
public void addPlayListEntry(PlayListEntry playListEntry)
playListEntry
- a new entry to add to the listpublic int size()
public List getPlayListEntries()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |