net.sf.dc.processes.http
Class AmazonBookUpdate

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.sf.dc.processes.http.InternetUpdateProcess
          extended bynet.sf.dc.processes.http.AmazonUpdate
              extended bynet.sf.dc.processes.http.AmazonBookUpdate
All Implemented Interfaces:
java.lang.Runnable

public class AmazonBookUpdate
extends AmazonUpdate

Searches for software descriptions and screenshots on the Amazon site

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

Field Summary
 
Fields inherited from class net.sf.dc.processes.http.AmazonUpdate
broadband, searchString, ui
 
Fields inherited from class net.sf.dc.processes.http.InternetUpdateProcess
cancelled
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AmazonBookUpdate(InternetSearchForm ui, java.lang.String searchString, boolean broadband)
           
 
Method Summary
protected  DCObject convertXmlToObject(java.lang.String xmlString)
          Parses information from a raw html or xml string
 void run()
           
 void search()
          Searches on the Amazon.com website on the catagories software and videogames.
 
Methods inherited from class net.sf.dc.processes.http.AmazonUpdate
createObjects, getDescription, getManufacturer, getRating, getReleaseDate, getUserReview, search
 
Methods inherited from class net.sf.dc.processes.http.InternetUpdateProcess
stopSearch
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AmazonBookUpdate

public AmazonBookUpdate(InternetSearchForm ui,
                        java.lang.String searchString,
                        boolean broadband)
Method Detail

run

public void run()

search

public void search()
Searches on the Amazon.com website on the catagories software and videogames. Returns a Vector of Strings. Each String describes a found item on the Amazon website


convertXmlToObject

protected DCObject convertXmlToObject(java.lang.String xmlString)
Parses information from a raw html or xml string

Specified by:
convertXmlToObject in class AmazonUpdate
Parameters:
xmlString - the raw input