net.sf.dc.processes.http
Class AmazonSoftwareUpdate

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

public class AmazonSoftwareUpdate
extends InternetUpdateProcess

Searches for software descriptions and screenshots on the Amazon site

Since:
1.3
Version:
0.80
Author:
Robert-Jan van der Waals

Field Summary
 
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
AmazonSoftwareUpdate(InternetSearchForm ui, java.lang.String searchString, boolean broadband)
           
 
Method Summary
 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.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

AmazonSoftwareUpdate

public AmazonSoftwareUpdate(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

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

Parameters:
xmlString - the raw input