rjw.dc.http
Class AmazonQuery

java.lang.Object
  |
  +--rjw.dc.http.AmazonQuery

public class AmazonQuery
extends java.lang.Object

Searches for software on the Amazon site

Since:
1.4
Version:
0.1
Author:
Robert-Jan van der Waals

Constructor Summary
AmazonQuery(java.lang.String searchString)
           
 
Method Summary
 java.lang.Object[] parseInformation(java.lang.String rawResult)
          Parses information from a part of an xml file
 java.util.Vector search(HttpConnection connection)
          Searches on the Amazon.com website on the catagories software and videogames.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmazonQuery

public AmazonQuery(java.lang.String searchString)
Method Detail

search

public java.util.Vector search(HttpConnection connection)
Searches on the Amazon.com website on the catagories software and videogames.

Parameters:
connection - the internet connection

parseInformation

public java.lang.Object[] parseInformation(java.lang.String rawResult)
Parses information from a part of an xml file

Parameters:
rawResult - the raw input
Returns:
Object[0] the name of the software Object[1] the description