org.semanticdesktop.aperture.websites.bibsonomy
Class BibsonomyCrawler

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

public class BibsonomyCrawler
extends AbstractTagCrawler


Field Summary
 
Fields inherited from class org.semanticdesktop.aperture.crawler.base.CrawlerBase
accessData, accessorRegistry, crawlReportFile, source, stopRequested
 
Constructor Summary
BibsonomyCrawler(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 password)
          crawl photos, etc return them to the crawlerhandler yourself
 void postTag(String url, String title, String description, List<Tag> tags)
           
 
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, reportModifiedDataObject, reportNewDataObject, reportUnmodifiedDataObject, reportUntouched, runSubCrawler, setAccessData, setCrawlerHandler, setCrawlReportFile, setDataAccessorRegistry, setDataSource, stop, storeCrawlReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BibsonomyCrawler

public BibsonomyCrawler(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 password)
                     throws Exception
Description copied from class: AbstractTagCrawler
crawl photos, etc return them to the crawlerhandler yourself

Overrides:
crawlTheRest in class AbstractTagCrawler
Throws:
Exception

postTag

public void postTag(String url,
                    String title,
                    String description,
                    List<Tag> tags)