Thanks. Unfortunately the .pst format turns out to be quite hard (for me 
anyway) to decipher.

/mac

On Tuesday, August 14, 2012 1:24:27 AM UTC+2, odyssomay wrote:
>
> gen-class supports both static methods and protected vars.
>
> http://kotka.de/blog/2010/02/gen-class_how_it_works_and_how_to_use_it.html
>
> http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/gen-class
>
> (see :exposes in the second for protected access).
>
> Jonathan
>
> On Mon, Aug 13, 2012 at 8:53 PM, martin_clausen 
> <[email protected]<javascript:>
> > wrote:
>
>> I am using the otherwise nice java-libpst (
>> http://code.google.com/p/java-libpst/) library to extract data from .pst 
>> files produced by Outlook for further processing in Clojure.
>>
>> Unfortunately the method (
>> http://code.google.com/p/java-libpst/source/browse/trunk/com/pff/PSTMessage.java#860)
>>  
>> that reads which categories a mail is "tagged" with, is broken. So my first 
>> thought is of course to fix this using Clojure, but this has turned out to 
>> be harder said than done. I have looked into proxy, which turned out to be 
>> a dead end (if I am not mistaken), as the objects representing a mail 
>> message must be produced using a static factory method.
>>
>> Any hints on how to implement the broken method (
>> http://code.google.com/p/java-libpst/source/browse/trunk/com/pff/PSTMessage.java#860)
>>  
>> greatly appreciated. Please note that the Clojure function  replacing the 
>> broken method must be able to access several protected fields within the 
>> Java class.
>>  
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to [email protected]<javascript:>
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to