Return-Path: Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: (qmail 40852 invoked from network); 24 Dec 2009 14:50:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Dec 2009 14:50:05 -0000 Received: (qmail 37503 invoked by uid 500); 24 Dec 2009 14:50:05 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 37467 invoked by uid 500); 24 Dec 2009 14:50:05 -0000 Mailing-List: contact mime4j-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mime4j-dev@james.apache.org Delivered-To: mailing list mime4j-dev@james.apache.org Received: (qmail 37457 invoked by uid 99); 24 Dec 2009 14:50:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Dec 2009 14:50:05 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [87.248.110.138] (HELO n21.bullet.mail.ukl.yahoo.com) (87.248.110.138) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 Dec 2009 14:49:54 +0000 Received: from [217.146.182.177] by n21.bullet.mail.ukl.yahoo.com with NNFMP; 24 Dec 2009 14:49:32 -0000 Received: from [87.248.111.151] by t3.bullet.ukl.yahoo.com with NNFMP; 24 Dec 2009 14:49:32 -0000 Received: from [127.0.0.1] by omp208.mail.ukl.yahoo.com with NNFMP; 24 Dec 2009 14:49:32 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 855535.59511.bm@omp208.mail.ukl.yahoo.com Received: (qmail 67808 invoked by uid 60001); 24 Dec 2009 14:49:32 -0000 Message-ID: <580943.67743.qm@web23004.mail.ird.yahoo.com> X-YMail-OSG: L5JEFKQVM1kCNK_d8ygT1wLLCDo3h_xAQfXj0T46wdow_HmDsxXa1SDQ9smycGhQ1nUY_MCHKYBmBsV_8CfJ5m4TNPyXhhVM.9Lujj7cOk6CyJJarRvkIlcirZGRQcypWLK75B5yXEnz2I8DcBVPpbY4Jd6IxUkUApr6vLsmYF9yRJ2uGTqDJ_7bkHtLcIv1IYA.1ySbmmxls8FIpRPqYgBGBgUFw5.KkIu4uaGYU396L3ORpDP8cGHGAzdI7OytNYLU0eCOfdrXHMBtbz1jz0Fmb_H1w_23TydbxikAyw1xv4hCqd0OOsYv2qL8cpxr4RPdaqvF1zBbqOO_S34- Received: from [212.190.144.11] by web23004.mail.ird.yahoo.com via HTTP; Thu, 24 Dec 2009 14:49:32 GMT X-RocketYMMF: darkman_spam X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Thu, 24 Dec 2009 14:49:32 +0000 (GMT) From: Florent Georges Reply-To: lists@fgeorges.org Subject: Re: Parsing a multipart stream, without its headers To: mime4j-dev@james.apache.org In-Reply-To: <703586.22903.qm@web23007.mail.ird.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Florent Georges wrote:=0A=0A Hi,=0A=0A> Is there any way to parse such a= stream, by providing the=0A> already-parsed headers programmatically to th= e MIME stream=0A> parser?=0A=0A It seems I can use MimeTokenStream.parseHe= adless() fot this=0Aexact purpose, so I rewrote the message parsing to use = a token=0Astream instead of a stream parser.=0A=0A Just out of curiosity, = is there any reason why there is no=0Aequivalent on the MimeStreamParser cl= ass?=0A=0A Regards,=0A=0A-- =0AFlorent Georges=0Ahttp://www.fgeorges.org/= =0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A