|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.musicontroller.importer.MusicArchiveBean
public class MusicArchiveBean
This class contains information about an uploaded music archive file.
The inner class PlaylistImportProperties is used for setting instruction for the importer per playlist name.
Constructor Summary | |
---|---|
MusicArchiveBean()
The default constructor initializes the entries and the playlist properties to an empty set and all other properties to null. |
Method Summary | |
---|---|
void |
addEntry(MusicArchiveEntryBean entry)
Adds an entry to the music archive. |
void |
analyseMusicArchive()
Analyses the entries in the music archive to create a list of different playlists. |
java.lang.String |
getArchiveName()
Getter for the music archive name. |
java.util.Set<MusicArchiveEntryBean> |
getEntrySet()
|
java.util.Set<java.lang.String> |
getPlaylistNames()
Returns a set of all distinct playlist names in the archive. |
PlaylistImportProperties |
getPlaylistProperties(java.lang.String playlistName)
Get the per playlist properties of the specified playlist. |
java.util.Set<PlaylistImportProperties> |
getPlaylistPropertySet()
|
java.util.Date |
getReleaseDate()
Returns the minimum value of releaseDate of all entries, or the value of release date that has been set. |
void |
setArchiveName(java.lang.String name)
Setter for the music archive name. |
void |
setPlaylistProperties(java.lang.String playlistName,
PlaylistImportProperties properties)
Setter for the per playlist import properties of the specified playlist. |
void |
setReleaseDate(java.util.Date releaseDate)
Sets the release date value of this bean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MusicArchiveBean()
Method Detail |
---|
public PlaylistImportProperties getPlaylistProperties(java.lang.String playlistName)
public java.util.Set<PlaylistImportProperties> getPlaylistPropertySet()
public java.util.Set<java.lang.String> getPlaylistNames()
public void setPlaylistProperties(java.lang.String playlistName, PlaylistImportProperties properties)
properties
- The per playlist import properties.public java.lang.String getArchiveName()
public void setArchiveName(java.lang.String name)
name
- The music archive name.public java.util.Set<MusicArchiveEntryBean> getEntrySet()
public java.util.Date getReleaseDate()
public void setReleaseDate(java.util.Date releaseDate)
releaseDate
- The release date.public void addEntry(MusicArchiveEntryBean entry)
entry
- The entry to add. Null values are ignored. If the playlist name
is null, "" is used as the playlist name.public void analyseMusicArchive()
archive
- The music archive to analyse.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |