Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 17322 invoked from network); 3 Dec 2002 18:52:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Dec 2002 18:52:35 -0000 Received: (qmail 13910 invoked by uid 97); 3 Dec 2002 18:53:31 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 13884 invoked by uid 97); 3 Dec 2002 18:53:30 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 13872 invoked by uid 98); 3 Dec 2002 18:53:29 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20021203185222.87759.qmail@web20418.mail.yahoo.com> Date: Tue, 3 Dec 2002 10:52:22 -0800 (PST) From: Matt Benson Subject: Re: FilterChains - grep and sed To: Ant Users List In-Reply-To: <009f01c29a79$68b35a20$e2644ed8@compaq> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 wrote: > ----- Original Message ----- > From: "Matt Benson" > > > > 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: > > For additional commands, e-mail: > > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: