james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin" <robertburrelldon...@gmail.com>
Subject Re: [mime4J] MessageSearcher...? [WAS Re: [Mime4J] getReader]
Date Sun, 09 Mar 2008 16:54:37 GMT
On Sun, Mar 9, 2008 at 4:05 PM, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> Hi,
>
>
>  On Sun, Mar 9, 2008 at 11:53 AM, Robert Burrell Donkin
>  <robertburrelldonkin@gmail.com> wrote:
>  > On Sun, Mar 9, 2008 at 9:41 AM, Jukka Zitting <jukka.zitting@gmail.com> wrote:
>
> >  >  A search feature is typically only useful when applied to a collection
>  >  >  of messages, so I'm not sure if something like that really makes sense
>  >  >  in the scope of Mime4J.
>  >
>  >  the object i had in mind performs a character search of the bodies and
>  >  fields of one MIME document. this isn't a byte-wise but
>  >  character-based search which requires decoding of transfer encodings
>  >  and setting appropriate charsets. the function isn't complex but
>  >  getting the decoding right for each part is a little fiddly and
>  >  requires an understanding of MIME encoding.
>
>  Isn't most of that complexity already be handled by the new getReader() method?

yes it is. it's just a classic pull parsing implementation.  so maybe
it would work better in the documentation as a worked example...

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message