comirva.web.retrieval
Class LastFM_ArtistInfoRetriever

java.lang.Object
  extended by comirva.web.retrieval.LastFM_ArtistInfoRetriever

public class LastFM_ArtistInfoRetriever
extends Object

This class extracts artist information from last.fm using Audioscrobbler data. Currently, you can extract as XML playcounts and number of listeners.


Field Summary
static File ARTIST_FILE
           
static String[] genres
           
static File OUTPUT_DIR
           
static File PLAYCOUNT_FILE
           
static File WGET
           
 
Constructor Summary
LastFM_ArtistInfoRetriever()
           
 
Method Summary
static int doWaitFor(Process p)
          Method to perform a "wait" for a process and return its exit value.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARTIST_FILE

public static final File ARTIST_FILE

OUTPUT_DIR

public static final File OUTPUT_DIR

PLAYCOUNT_FILE

public static final File PLAYCOUNT_FILE

WGET

public static final File WGET

genres

public static final String[] genres
Constructor Detail

LastFM_ArtistInfoRetriever

public LastFM_ArtistInfoRetriever()
Method Detail

main

public static void main(String[] args)

doWaitFor

public static int doWaitFor(Process p)
Method to perform a "wait" for a process and return its exit value. This is a workaround for process.waitFor() never returning.