~ubuntu-branches/ubuntu/quantal/commons-io/quantal

« back to all changes in this revision

Viewing changes to src/java/org/apache/commons/io/filefilter/WildcardFilter.java

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2008-02-21 13:26:43 UTC
  • mfrom: (1.1.3 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080221132643-p4c8f8lhb9rnqnlo
Tags: 1.4-1
* New upstream release
* Bump Standards-Version to 3.7.3
* Bump up debhelper compat to 6
* Replace XS-Vcs headers with Vcs
* debian/patches:
  - remove 01_no_ext_links.dpatch - not required
  - remove 02_no_mkdir_in_homedir.dpatch - not required
* Remove dpatch from Build-Depends
* Update debian/rules and debian/libcommons-io-java-doc.install
  with new target dirs
* debian/copyright: add copyright notice

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
package org.apache.commons.io.filefilter;
18
18
 
19
19
import java.io.File;
 
20
import java.io.Serializable;
20
21
import java.util.List;
21
22
 
22
23
import org.apache.commons.io.FilenameUtils;
44
45
 * </pre>
45
46
 *
46
47
 * @author Jason Anderson
47
 
 * @version $Revision: 437680 $ $Date: 2006-08-28 13:57:00 +0200 (Mo, 28 Aug 2006) $
 
48
 * @version $Revision: 606381 $ $Date: 2007-12-22 02:03:16 +0000 (Sat, 22 Dec 2007) $
48
49
 * @since Commons IO 1.1
49
50
 * @deprecated Use WilcardFileFilter. Deprecated as this class performs directory
50
51
 * filtering which it shouldn't do, but that can't be removed due to compatability.
51
52
 */
52
 
public class WildcardFilter extends AbstractFileFilter {
 
53
public class WildcardFilter extends AbstractFileFilter implements Serializable {
53
54
 
54
55
    /** The wildcards that will be used to match filenames. */
55
 
    private String[] wildcards;
 
56
    private final String[] wildcards;
56
57
 
57
58
    /**
58
59
     * Construct a new case-sensitive wildcard filter for a single wildcard.