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



Reply via email to