Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 79107 invoked from network); 14 Feb 2005 18:03:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Feb 2005 18:03:57 -0000 Received: (qmail 81977 invoked by uid 500); 14 Feb 2005 18:03:51 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 81935 invoked by uid 500); 14 Feb 2005 18:03:50 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 81920 invoked by uid 99); 14 Feb 2005 18:03:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from maillnx-us111.fmr.com (HELO maillnx-us111.fmr.com) (192.223.198.26) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 14 Feb 2005 10:03:48 -0800 Received: from MSGMMKSM01WIN.DMN1.FMR.COM (MSGMMKSM01WIN.dmn1.fmr.com [10.33.139.32] (may be forged)) by maillnx-us111.fmr.com (Switch-3.1.2/Switch-3.1.0) with SMTP id j1EI3inH005912 for ; Mon, 14 Feb 2005 13:03:45 -0500 Received: from MSGMMKIV02WIN.DMN1.FMR.COM (10.33.148.31) by MSGMMKSM01WIN.DMN1.FMR.COM (Sigaba Gateway v3.83) with ESMTP id 17310478; Mon, 14 Feb 2005 13:03:44 -0500 Received: from MSGMMKIM02WIN.DMN1.FMR.COM ([172.25.108.84]) by MSGMMKIV02WIN.DMN1.FMR.COM with SMTP_server; Mon, 14 Feb 2005 13:03:44 -0500 Received: from MSGMMKCLE2WIN.fmr.com ([10.33.152.63]) by MSGMMKIM02WIN.DMN1.FMR.COM with Microsoft SMTPSVC(5.0.2195.6713); Mon, 14 Feb 2005 13:03:44 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message Subject: RE: Parsing file. It works but... MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 14 Feb 2005 13:03:44 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Parsing file. It works but... Thread-Index: AcUQh7YaD2SxG2apRhCcfoI09k2lCgCN1ogw From: "Dick, Brian E." To: "Ant Users List" X-OriginalArrivalTime: 14 Feb 2005 18:03:44.0231 (UTC) FILETIME=[85C5BF70:01C512BF] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N That's much better. Process Source=3D${source} Target=3D${target} -----Original Message----- From: Matt Benson [mailto:gudnabrsam@yahoo.com]=20 Sent: Friday, February 11, 2005 5:19 PM To: Ant Users List Subject: RE: Parsing file. It works but... --- Matt Benson wrote: > --- "Dick, Brian E." wrote: >=20 > > That's a bit better. > >=20 > > Is there a better way to iterate the lines in the > > file? The task > > docs say any type that has a public iterator() can > > be used. Is there > > such a type for file iteration? >=20 > There is now. To clarify, this class implements Iterator directly 'cause I couldn't think of a good name for something to return such an iterator. But since for will accept an iterator directly, it's just as good. I have actually tested this and it works for me. -Matt >=20 > HTH, > Matt >=20 >=20 > =09 > __________________________________=20 > Do you Yahoo!?=20 > Meet the all-new My Yahoo! - Try it today!=20 > http://my.yahoo.com=20 > =20 >=20 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org