net.sf.dc.http.covers
Class AmazonCoverSource

java.lang.Object
  extended by net.sf.dc.http.covers.AmazonCoverSource

public class AmazonCoverSource
extends java.lang.Object

Retrieves covers for audio CD's from the amazon webserver. Uses SOAP for the communication.

Since:
1.4
Version:
1.6
Author:
Robert Jan van der Waals

Constructor Summary
AmazonCoverSource(InternetSearchForm ui, AudioCD audioCD)
           
 
Method Summary
static java.lang.String normalize(java.lang.String s)
          Strips characters not belonging in a SOAP request
 void search()
          Searches the amazon webservice for audio CD covers.
 void stopSearch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmazonCoverSource

public AmazonCoverSource(InternetSearchForm ui,
                         AudioCD audioCD)
Method Detail

stopSearch

public void stopSearch()

search

public void search()
Searches the amazon webservice for audio CD covers. Uses information (title and artist) from the Audio CD item.


normalize

public static java.lang.String normalize(java.lang.String s)
Strips characters not belonging in a SOAP request

Parameters:
s - string to normalize
Returns:
normalized string