org.semanticdesktop.aperture.addressbook.thunderbird
Class ThunderbirdCrawler

java.lang.Object
  extended by org.semanticdesktop.aperture.crawler.base.CrawlerBase
      extended by org.semanticdesktop.aperture.addressbook.AddressbookCrawler
          extended by org.semanticdesktop.aperture.addressbook.thunderbird.ThunderbirdCrawler
All Implemented Interfaces:
Crawler

public class ThunderbirdCrawler
extends AddressbookCrawler

This is a crawler for the thunderbird address book.


Field Summary
static String TYPE
           
 
Fields inherited from class org.semanticdesktop.aperture.addressbook.AddressbookCrawler
ADDRESSBOOK_CHECKSUM_KEY
 
Fields inherited from class org.semanticdesktop.aperture.crawler.base.CrawlerBase
accessData, accessorRegistry, crawlReportFile, source, stopRequested
 
Constructor Summary
ThunderbirdCrawler()
           
ThunderbirdCrawler(DataSource dataSource)
           
 
Method Summary
 List crawlAddressbook()
          Crawls the addressbook and returns a list of DataObjects.
 URI getContactListUri()
          Returns the URI of the address book itself
 
Methods inherited from class org.semanticdesktop.aperture.addressbook.AddressbookCrawler
crawlObjects
 
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

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

ThunderbirdCrawler

public ThunderbirdCrawler(DataSource dataSource)

ThunderbirdCrawler

public ThunderbirdCrawler()
Method Detail

crawlAddressbook

public List crawlAddressbook()
                      throws Exception
Description copied from class: AddressbookCrawler
Crawls the addressbook and returns a list of DataObjects. Each DataObject corresponds to a single entry in the addresbook.

Specified by:
crawlAddressbook in class AddressbookCrawler
Returns:
a list of DataObjects representing addressbook entries
Throws:
Exception

getContactListUri

public URI getContactListUri()
Description copied from class: AddressbookCrawler
Returns the URI of the address book itself

Specified by:
getContactListUri in class AddressbookCrawler
Returns:
the URI of the address book itself


Copyright © 2010 Aperture Development Team. All Rights Reserved.