#103 VcardSubCrawler attachmentsOnlyMode

1.6.0 - features
closed
nobody
None
5
2010-08-26
2010-08-09
No

This should be similar to the way it's already done in the ical SubCrawler. Some applications seem to assume that every object returned by the SubCrawler.getDataObject method is either a FileDataObject or a MessageDataObject. With the attachmentsOnlyMode in VcardSubCrawler this assumption might have better chances of not causing havoc.

Discussion

  • Antoni Mylka

    Antoni Mylka - 2010-08-26

    I've come up with something better than an attachmentsOnlyMode.

    If a crawler encounters multiple vcards it will return them as plain text FileDataObjects, then the user will run the vcard subcrawler on them once again to get the individual data. This is called multiLevelMode. It can be enabled with a new constructor in vcard subcrawler and its corresponding factory. With this the applications that expect a FileDataObject from a subcrawler can work properly now.

     
  • Antoni Mylka

    Antoni Mylka - 2010-08-26
    • milestone: --> 1.6.0 - features
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks