From: <ant...@gm...> - 2008-01-28 14:30:30
|
Leo Sauermann pisze: > Actually, I asked Antoni Mylka for a similar feature last week, for > another project (NEPOMUK), > Antoni, can you update us on the status? > I thought I would start with the easier part, i.e. the VCard extractor. I've done some research about the available VCard processing libraries in java. I'm starting to implement the extractor just about now :). I'll get down to the mbox crawler asap. > did you look how javax.mail can support MBOX/MAILDIR crawling? > > Jose, I would recommend you wait for Antoni's answer before continuing. > > On the other hand, Jose, do you think you can copy/paste the > imap-crawler and see if it can be tweaked to work with MBOX files? I am > not sure if the implementation of javax.mail we use supports this, but > maybe it does.. > I can vaguely remeber that we did discuss it at some point. It should be possible to generalize the IMAPCrawler and turn it into a generic JavaMail Crawler that would work with the javamail api powered by every provider there is. (or at least to make an AbstractJavaMailCrawler and have concrete subclasses handle provider-specific details). After all, that's what the javamail API is for. I'm all for this move, especially since this would allow us to write unit tests that would test the crawling logic on a local mbox file. Antoni Mylka ant...@gm... |