org.varienaja.util.coverart
Class CoverArtProcessor
java.lang.Object
org.varienaja.util.coverart.CoverArtProcessor
- All Implemented Interfaces:
- ICoverArtFinder
public class CoverArtProcessor
- extends java.lang.Object
- implements ICoverArtFinder
Class which provides functionality to search for Covers of Playlists, and to
get an InputStream of images found.
- Author:
- Varienaja
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoverArtProcessor
public CoverArtProcessor()
findCoverURLs
public java.util.Collection<CoverArtSearchResult> findCoverURLs(java.lang.String band,
java.lang.String album)
- Description copied from interface:
ICoverArtFinder
- Searches one or multiple sources for CovereArt-images.
- Specified by:
findCoverURLs
in interface ICoverArtFinder
- Parameters:
band
- The bandname to search for.album
- The albumtitle tot search for
- Returns:
- A non-null, sorted Collection of CoverArtSearchResult objects
getCover
public java.io.InputStream getCover(CoverArtSearchResult casr,
long id)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010 A.J.V.. All Rights Reserved.