james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rustam Aliyev <rus...@code.az>
Subject Re: MIME part size
Date Mon, 18 Jul 2011 09:37:17 GMT
Thanks Oleg.

Would it be possible to add body part size calculation in 0.8? I haven't 
looked into the code, but it shouldn't be too complicated since mime4j 
reads through the parts anyway.

--
Rustam.

On 18/07/2011 10:27, Oleg Kalnichevski wrote:
> On Mon, 2011-07-18 at 00:40 +0100, Rustam Aliyev wrote:
>> Hi Norman,
>>
>> BodyDescriptor only has getContentLength() which returns "Content
>> length, if known, or -1, to indicate the absence of a content-length
>> header".
>>
>> Taking into account that most of attachment don't have content-length,
>> this won't be very helpful.   ... or am I missing somehitng?
>>
>>
>> Thanks,
>> Rustam.
>>
> Rustam
>
> Reading through the content of a body part is the only reliable way of
> finding its length.
>
> Oleg
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message