net.chaosserver.jtunes.playlist.io
Class PlayListManager
java.lang.Object
|
+--net.chaosserver.jtunes.playlist.io.PlayListManager
- public class PlayListManager
- extends Object
Manages the input/output of playlists.
Currently a pass through the M3U manager.
Method Summary |
void |
export(File exportDirectory,
PlayList playList)
Exports the playlist to the given file and copies all
songs in the playlist into the same directory. |
PlayList |
load(File playListFile)
Loads a playlist from the given file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlayListManager
public PlayListManager()
load
public PlayList load(File playListFile)
- Loads a playlist from the given file.
- Parameters:
playListFile
- file to load the playlist from
- Returns:
- newly loaded playlist
export
public void export(File exportDirectory,
PlayList playList)
- Exports the playlist to the given file and copies all
songs in the playlist into the same directory.
- Parameters:
exportDirectory
- directory export the playlist to and
move all the files intoplayList
- playlist to export
Copyright ?? 20030801