ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Moebius <stmoeb...@yahoo.com>
Subject Re: FilterChains - grep and sed
Date Tue, 03 Dec 2002 21:03:44 GMT
Does this make sense for anything but removal filters? How would you
expect the inverse of a "replace foo by bar" filter to work?

Stefan

--- Matt Benson <gudnabrsam@yahoo.com> wrote:
> An InverseFilterReader would do exactly the opposite
> of a specified FilterReader.  For example, the
> StripJavaComments FilterReader in Ant strips away Java
> comments.  An InverseFilterReader wrapping a
> StripJavaComments FilterReader would strip away
> everything BUT Java comments.  I think implementation
> might be any of tricky, slow, or memory-intensive, but
> the number of existing FilterReaders would be
> instantly doubled if this class were written.
> 
> -Matt
> 
> 
> --- Magesh Umasankar <umagesh@apache.org> wrote:
> > ----- Original Message ----- 
> > From: "Matt Benson" <gudnabrsam@yahoo.com>
> > 
> > 
> > > Nice thought here--why not adapt the various
> > angles of
> > > Jakarta ORO as FilterReaders?  Another class I
> > have
> > > thought of writing for quite some time, but whose
> > > implementation would be quite tricky, is an
> > > InverseFilterReader which would perform the
> > opposite
> > > of a contained FilterReader.  
> > 
> > I don't quite follow - will you please expand
> > on what you propose as an InverseFilterReader?
> > 
> > > 
> > > -Matt
> > 
> > Cheers,
> > Magesh
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:ant-user-help@jakarta.apache.org>
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


=====
Stefan Moebius       <stmoebius@yahoo.com> 
  Wurzener Str. 43        +49 351 8475827
  01127 Dresden           +49 172 8739617

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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


Mime
View raw message