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 SummaryFieldsModifier and TypeFieldDescriptionstatic final FileFilterSingleton instance of true filter.static final FileFilterDeprecated.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
INSTANCESingleton instance of true filter.- Since:
- 2.10.0
 
- 
TRUEDeprecated.UseINSTANCE.Singleton instance of true filter.
 
- 
- 
Constructor Details- 
TrueFileFilterprotected TrueFileFilter()Restrictive constructor.
 
- 
- 
Method Details- 
acceptReturns true.- Specified by:
- acceptin interface- FileFilter
- Parameters:
- fileSelectInfo- the file to check (ignored)
- Returns:
- Always true
 
 
- 
INSTANCE.