Contents
Class TrueFileFilter
java.lang.Object
org.apache.commons.vfs2.filter.TrueFileFilter
- All Implemented Interfaces:
Serializable
,FileFilter
A file filter that always returns true.
- Since:
- 2.4
- Author:
- This code was originally ported from Apache Commons IO File Filter
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FileFilter
Singleton instance of true filter.static final FileFilter
Deprecated. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
TRUE
Deprecated.UseINSTANCE
.Singleton instance of true filter.
-
-
Constructor Details
-
TrueFileFilter
protected TrueFileFilter()Restrictive constructor.
-
-
Method Details
-
accept
Returns true.- Specified by:
accept
in interfaceFileFilter
- Parameters:
fileSelectInfo
- the file to check (ignored)- Returns:
- Always
true
-
INSTANCE
.