Package org.apache.commons.vfs2.filter
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 FileFilterSingleton instance of true filter.static final FileFilterDeprecated. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Singleton instance of true filter.- Since:
- 2.10.0
-
TRUE
Deprecated.UseINSTANCE.Singleton instance of true filter.
-
-
Constructor Details
-
TrueFileFilter
protected TrueFileFilter()Restrictive constructor.
-
-
Method Details
-
accept
Returns true.- Specified by:
acceptin interfaceFileFilter- Parameters:
fileSelectInfo- the file to check (ignored)- Returns:
- Always
true
-
INSTANCE.