Class FalseFileFilter

java.lang.Object
org.apache.commons.vfs2.filter.FalseFileFilter
All Implemented Interfaces:
Serializable, FileFilter

public class FalseFileFilter extends Object implements FileFilter, Serializable
A file filter that always returns false.
Since:
2.4
Author:
This code was originally ported from Apache Commons IO File Filter
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • accept

      public boolean accept(FileSelectInfo fileSelectInfo)
      Returns false.
      Specified by:
      accept in interface FileFilter
      Parameters:
      fileSelectInfo - the file to check (ignored)
      Returns:
      Always false