You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Stephen Colebourne <sc...@btopenworld.com> on 2006/06/24 03:17:36 UTC

[io] WildcardFilter

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