You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <mi...@james.apache.org> on 2009/02/07 09:32:59 UTC

[jira] Commented: (MIME4J-114) Efficient Read Access To Parts Of A Parsed Document

    [ https://issues.apache.org/jira/browse/MIME4J-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671428#action_12671428 ] 

Robert Burrell Donkin commented on MIME4J-114:
----------------------------------------------

I wonder whether it would be reasonable for Mime4J to efficiently record the number of bytes that it has processed  and then expose this information on state transition. 

Opinions and alternative suggestions welcomed

> Efficient Read Access To Parts Of A Parsed Document
> ---------------------------------------------------
>
>                 Key: MIME4J-114
>                 URL: https://issues.apache.org/jira/browse/MIME4J-114
>             Project: JAMES Mime4j
>          Issue Type: Wish
>    Affects Versions: 0.6
>            Reporter: Robert Burrell Donkin
>             Fix For: 0.7
>
>
> Use Case
> --------------
> Consider a large MIME document stored (as a single document) in a medium which allows random access to the bits (for example,  a BLOB in a data store or a file.) 
> I parse the document once using Mime4J and store the meta-data (for example, in a data store) so that I can read this data many times without loading and reparsing this large document
> I wish to be able to read efficiently a part of the document without loading the whole, and this may happen frequently

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.