nz.ac.waikato.mcennis.rat.graph.artist.decider
Class ArtistDeciderFactory

java.lang.Object
  extended by nz.ac.waikato.mcennis.rat.graph.artist.decider.ArtistDeciderFactory

public class ArtistDeciderFactory
extends java.lang.Object

Class for creating an ArtistDecider


Method Summary
 ArtistDecider create(java.util.Properties props)
          Create an ArtistDecider The type is chosen by the 'ArtistDeciderType' parameter Known Types: 'Google' - GoogleDecider 'LastFM' - LastFMDecider 'LastFMType' key = 'XML' for XML version 'LastFMType' key undefined or anything else 'Basic' Anything else - BasicArtistDecider 'artistListLocation' key = directory of list of all artists
static ArtistDeciderFactory newInstance()
          returns the singleton ArtistDeciderFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static ArtistDeciderFactory newInstance()
returns the singleton ArtistDeciderFactory

Returns:
singelton instance of this class

create

public ArtistDecider create(java.util.Properties props)
Create an ArtistDecider The type is chosen by the 'ArtistDeciderType' parameter Known Types:

Parameters:
props - parameters to initialize the ArtistDecider
Returns:
newly created ArtistDecider