org.semanticdesktop.aperture.websites.delicious
Class DeliciousCrawler

java.lang.Object
  extended by org.semanticdesktop.aperture.crawler.base.CrawlerBase
      extended by org.semanticdesktop.aperture.websites.AbstractTagCrawler
          extended by org.semanticdesktop.aperture.websites.delicious.DeliciousCrawler
All Implemented Interfaces:
Crawler

public class DeliciousCrawler
extends AbstractTagCrawler

A del.icio.us crawlers


Field Summary
static String POSTS_API
          URL to the posts API
static String TAGS_API
          URL to the tags API
 
Fields inherited from class org.semanticdesktop.aperture.crawler.base.CrawlerBase
accessData, accessorRegistry, crawlReportFile, source, stopRequested
 
Constructor Summary
DeliciousCrawler(DataSource dataSource)
           
 
Method Summary
protected  List<String> crawlTags(String username, String password)
          Gets a list of the user's tags
protected  void crawlTheRest(String username, String pass)
          Crawl POSTS from del.icio.us
 
Methods inherited from class org.semanticdesktop.aperture.websites.AbstractTagCrawler
crawlObjects, getShortName, reportItem
 
Methods inherited from class org.semanticdesktop.aperture.crawler.base.CrawlerBase
clear, clear, crawl, getAccessData, getCrawlerHandler, getCrawlReport, getCrawlReportFile, getDataAccessorRegistry, getDataSource, getRDFContainerFactory, inDomain, isStopRequested, reportAccessingObject, reportDeletedDataObject, reportFatalErrorCause, reportFatalErrorCause, reportFatalErrorCause, reportModifiedDataObject, reportNewDataObject, reportUnmodifiedDataObject, reportUntouched, runSubCrawler, setAccessData, setCrawlerHandler, setCrawlReportFile, setDataAccessorRegistry, setDataSource, stop, storeCrawlReport, touchObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAGS_API

public static final String TAGS_API
URL to the tags API

See Also:
Constant Field Values

POSTS_API

public static final String POSTS_API
URL to the posts API

See Also:
Constant Field Values
Constructor Detail

DeliciousCrawler

public DeliciousCrawler(DataSource dataSource)
Parameters:
dataSource -
Method Detail

crawlTags

protected List<String> crawlTags(String username,
                                 String password)
                          throws Exception
Description copied from class: AbstractTagCrawler
Gets a list of the user's tags

Specified by:
crawlTags in class AbstractTagCrawler
Returns:
a list of tags
Throws:
IOException
SAXException
ParserConfigurationException
Exception

crawlTheRest

protected void crawlTheRest(String username,
                            String pass)
                     throws SAXException,
                            Exception
Crawl POSTS from del.icio.us

Overrides:
crawlTheRest in class AbstractTagCrawler
Throws:
Exception
SAXException


Copyright © 2010 Aperture Development Team. All Rights Reserved.