net.sourceforge.atunes.kernel.modules.contextInformation.lyrics
Class LyricsCache

java.lang.Object
  extended by net.sourceforge.atunes.kernel.modules.contextInformation.lyrics.LyricsCache

public class LyricsCache
extends java.lang.Object

The Class LyricsCache.


Constructor Summary
LyricsCache()
           
 
Method Summary
static boolean clearCache()
          Clears the cache.
static Lyrics retrieveLyric(java.lang.String artist, java.lang.String title)
          Retrieves lyrics from cache.
static void storeLyric(java.lang.String artist, java.lang.String title, Lyrics lyric)
          Stores lyrics in cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LyricsCache

public LyricsCache()
Method Detail

clearCache

public static boolean clearCache()
Clears the cache.

Returns:
If an IOException occured during clearing

retrieveLyric

public static Lyrics retrieveLyric(java.lang.String artist,
                                   java.lang.String title)
Retrieves lyrics from cache.

Parameters:
artist - the artist
title - the title
Returns:
the string

storeLyric

public static void storeLyric(java.lang.String artist,
                              java.lang.String title,
                              Lyrics lyric)
Stores lyrics in cache.

Parameters:
artist - the artist
title - the title
lyric - the lyric


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.