ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: Parsing file. It works but...
Date Fri, 11 Feb 2005 22:19:01 GMT
--- Matt Benson <gudnabrsam@yahoo.com> wrote:

> --- "Dick, Brian E." <Brian.Dick@FMR.com> wrote:
> 
> > That's a bit better.
> > 
> > Is there a better way to iterate the lines in the
> > file? The <for> task
> > docs say any type that has a public iterator() can
> > be used. Is there
> > such a type for file iteration?
> 
> 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

> 
> HTH,
> Matt
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Meet the all-new My Yahoo! - Try it today! 
> http://my.yahoo.com 
>  
> 
> >
---------------------------------------------------------------------
> 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 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message