edu.cmu.ri.createlab.rss.readers
Class TuneReader

java.lang.Object
  extended by edu.cmu.ri.createlab.rss.RSSReader
      extended by edu.cmu.ri.createlab.rss.readers.TuneReader

public class TuneReader
extends RSSReader

TuneReader accesses the iTunes top 100 songs data.

TuneReader.java Description: Reader class which utilizes the ROME library to read RSS feed information.

Author:
Daragh Egan

Constructor Summary
TuneReader()
           
 
Method Summary
 String getArtist()
          return name of artist name at index
 String getSong()
           
 String getTitle()
           
 void setIndex(int in)
           
 void updateSongFeed()
          Updates all song data from iTunes website
 
Methods inherited from class edu.cmu.ri.createlab.rss.RSSReader
getEntries, getEntriesPublishedAfterTimestamp, getEntryAuthor, getEntryCount, getEntryDate, getEntryDescription, getEntryLink, getEntryTitle, getFeedAuthor, getFeedDate, getFeedDescription, getFeedLink, getFeedTitle, updateFeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TuneReader

public TuneReader()
Method Detail

updateSongFeed

public void updateSongFeed()
Updates all song data from iTunes website


getTitle

public String getTitle()
Returns:
title of entry at index

getSong

public String getSong()
Returns:
name of song at index

getArtist

public String getArtist()
return name of artist name at index


setIndex

public void setIndex(int in)
Parameters:
in - int new index value