com.blackledge.david.tivo.multitasker.plugins
Class CNNHourlyAudio

java.lang.Object
  extended by com.blackledge.david.tivo.multitasker.plugins.CNNHourlyAudio
All Implemented Interfaces:
Audio

public class CNNHourlyAudio
extends Object
implements Audio

Handle the algorithmic URL of the CNN hourly feed.

Version:
$Revision: 1.1 $

Constructor Summary
CNNHourlyAudio()
           
 
Method Summary
 String getNextAudioStream()
          Provides the next Audio Stream to play.
 void init(MultiTaskerApplication app)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CNNHourlyAudio

public CNNHourlyAudio()
Method Detail

getNextAudioStream

public String getNextAudioStream()
Description copied from interface: Audio
Provides the next Audio Stream to play. Use a URL of the form app.getContext().getBaseURI().toString()+"local/"+myFilePath To play a file local to the current computer, where myFilePath is relative to the local file root defined in options.

Specified by:
getNextAudioStream in interface Audio
Returns:
a URL string that will provide an mp3 stream.

init

public void init(MultiTaskerApplication app)
Specified by:
init in interface Audio