net.sourceforge.neurosdbm
Class PlaylistUtility

java.lang.Object
  extended bynet.sourceforge.neurosdbm.PlaylistUtility

public class PlaylistUtility
extends java.lang.Object


Nested Class Summary
static class PlaylistUtility.M3UFilter
          Filter should accept meu files (by extension).
 
Constructor Summary
PlaylistUtility()
           
 
Method Summary
static void exportAllPlaylistsToNeuros(Database database)
           
static void exportPlaylistM3U(int key, java.lang.String fileName, Database database)
          This function exports a playlist into a m3u playlist format.
static void importAllPlaylistsFromNeuros(Database database)
          This function looks at the current playlist directory for existing playlist files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaylistUtility

public PlaylistUtility()
Method Detail

exportPlaylistM3U

public static void exportPlaylistM3U(int key,
                                     java.lang.String fileName,
                                     Database database)
This function exports a playlist into a m3u playlist format. The files are listed using Neuros' internal file structure.

Parameters:
key - The key to the playlist
fileName - The file to export the playlsit to
database - The database!

exportAllPlaylistsToNeuros

public static void exportAllPlaylistsToNeuros(Database database)

importAllPlaylistsFromNeuros

public static void importAllPlaylistsFromNeuros(Database database)
This function looks at the current playlist directory for existing playlist files. Any playlists files are used to create playlist entries in the database.

Parameters:
database - The database!


Copyright © 2004 NeurosDBM Dev Team All Rights Reserved.