Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 91469 invoked from network); 24 Jun 2006 01:17:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jun 2006 01:17:36 -0000 Received: (qmail 77978 invoked by uid 500); 24 Jun 2006 01:17:34 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 77900 invoked by uid 500); 24 Jun 2006 01:17:34 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 77887 invoked by uid 99); 24 Jun 2006 01:17:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jun 2006 18:17:34 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.12.12.196] (HELO smtp806.mail.ukl.yahoo.com) (217.12.12.196) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 23 Jun 2006 18:17:33 -0700 Received: (qmail 86094 invoked from network); 24 Jun 2006 01:17:12 -0000 Received: from unknown (HELO ?127.0.0.1?) (scolebourne@btinternet.com@86.132.253.73 with plain) by smtp806.mail.ukl.yahoo.com with SMTP; 24 Jun 2006 01:17:11 -0000 Message-ID: <449C92B0.1070602@btopenworld.com> Date: Sat, 24 Jun 2006 02:17:36 +0100 From: Stephen Colebourne User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: [io] WildcardFilter Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0625-7, 23/06/2006), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N http://issues.apache.org/jira/browse/IO-81 The current WildcardFilter is broken as it does two things - wildcard filtering AND directory filtering. This prevents it from being easiy enhanced. I am looking to fix this as follows: - WildcardFilter will be deprecated - WildcardFileFilter is the replacement, and does not filter by directory (any file is found) - To filter by file/directory as well will be an AND operation using AndFileFilter - A new enumeration IOCase will represent the different case-sensitivity (sensitive/inensitive/determined by system) and will be passed in as appropriate This same solution will affect Prefix/Suffix/Name filters. Any problems? Stephen --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org