Class TrueFileFilter

java.lang.Object
org.apache.commons.io.filefilter.TrueFileFilter
All Implemented Interfaces:
FileFilter, FilenameFilter, Serializable, PathMatcher, PathFilter, IOFileFilter

public class TrueFileFilter extends Object implements IOFileFilter, Serializable
A file filter that always returns true.

Deprecating Serialization

Serialization is deprecated and will be removed in 3.0.

Since:
1.0
See Also:
  • Field Details

    • TRUE

      public static final IOFileFilter TRUE
      Singleton instance of true filter.
      Since:
      1.3
    • INSTANCE

      public static final IOFileFilter INSTANCE
      Singleton instance of true filter. Please use the identical TrueFileFilter.TRUE constant. The new name is more JDK 1.5 friendly as it doesn't clash with other values when using static imports.
  • Constructor Details

  • Method Details