public class AlexaHelper
extends java.lang.Object
| Constructor and Description |
|---|
AlexaHelper(java.lang.String accessKeyId,
java.lang.String secretAccessKey) |
| Modifier and Type | Method and Description |
|---|---|
AlexaDetails |
getSiteDetails(java.lang.String site,
Scraper scraper) |
static java.lang.String |
makeRequest(java.lang.String requestUrl,
Scraper scraper)
Makes a request to the specified Url and return the results as a String
|
public AlexaHelper(java.lang.String accessKeyId,
java.lang.String secretAccessKey)
public static java.lang.String makeRequest(java.lang.String requestUrl,
Scraper scraper)
throws java.io.IOException
requestUrl - url to make request toscraper - web harvest scraper to perform the requestjava.io.IOExceptionpublic AlexaDetails getSiteDetails(java.lang.String site, Scraper scraper) throws java.security.SignatureException, java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, javax.xml.xpath.XPathExpressionException
java.security.SignatureExceptionjava.io.IOExceptionjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionjavax.xml.xpath.XPathExpressionException