org.semanticdesktop.aperture.websites.bibsonomy
Class BibsonomyCrawler
java.lang.Object
org.semanticdesktop.aperture.crawler.base.CrawlerBase
org.semanticdesktop.aperture.websites.AbstractTagCrawler
org.semanticdesktop.aperture.websites.bibsonomy.BibsonomyCrawler
- All Implemented Interfaces:
- Crawler
public class BibsonomyCrawler
- extends AbstractTagCrawler
| 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 |
BibsonomyCrawler
public BibsonomyCrawler(DataSource dataSource)
- Parameters:
dataSource -
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)