Package org.apache.commons.vfs2.filter
Class FalseFileFilter
java.lang.Object
org.apache.commons.vfs2.filter.FalseFileFilter
- All Implemented Interfaces:
Serializable
,FileFilter
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final FileFilter
Deprecated.static final FileFilter
Singleton instance of false filter. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Singleton instance of false filter.- Since:
- 2.10.0
-
FALSE
Deprecated.UseINSTANCE
.Singleton instance of false filter.
-
-
Constructor Details
-
FalseFileFilter
protected FalseFileFilter()Restrictive constructor.
-
-
Method Details
-
accept
Returns false.- Specified by:
accept
in interfaceFileFilter
- Parameters:
fileSelectInfo
- the file to check (ignored)- Returns:
- Always
false
-
INSTANCE
.