net.sf.dc.processes.http
Class AmazonBookUpdate

java.lang.Object
  extended by java.lang.Thread
      extended by net.sf.dc.processes.http.InternetUpdateProcess
          extended by net.sf.dc.processes.http.AmazonUpdate
              extended by net.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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
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, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

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