On 7/25/07, Bernd Fondermann <[EMAIL PROTECTED]> wrote:
Robert Burrell Donkin wrote:
> 
http://svn.apache.org/repos/asf/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/Cursor.java
>
> contains a first cut at a cursor API
>
> comments and improvements welcomed :-)

+1

one question (disclosure: I am not at all a MIME expert):
Is
   boolean moreMimeParts()
possible, without look ahead, e.g reading the full part first?

the API is just factored out - same code, different interface so i'll
need to take a look at the code...

MimeBoundaryInputStream reads someway forward then pushes back. on
closer inspection, not sure that moreMimeParts is very aptly named. it
seems to be the negative of parent EOF.  moreMimeParts does seems a
rather unreasonable and potentially expensive method for the API. i'll
see if i can remove it safely...

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to