Package org.apache.commons.io.filefilter
Interface IOFileFilter
- All Superinterfaces:
FileFilter,FilenameFilter
- All Known Implementing Classes:
AbstractFileFilter,AgeFileFilter,AndFileFilter,CanExecuteFileFilter,CanReadFileFilter,CanWriteFileFilter,DelegateFileFilter,DirectoryFileFilter,EmptyFileFilter,FalseFileFilter,FileFileFilter,HiddenFileFilter,MagicNumberFileFilter,NameFileFilter,NotFileFilter,OrFileFilter,PrefixFileFilter,RegexFileFilter,SizeFileFilter,SuffixFileFilter,TrueFileFilter,WildcardFileFilter,WildcardFilter
An interface which brings the FileFilter and FilenameFilter
interfaces together.
- Since:
- 1.0
-
Field Summary
Fields -
Method Summary
-
Field Details
-
EMPTY_STRING_ARRAY
An empty String array.
-
-
Method Details
-
accept
Checks to see if the File should be accepted by this filter.Defined in
FileFilter.- Specified by:
acceptin interfaceFileFilter- Parameters:
file- the File to check- Returns:
- true if this file matches the test
-
accept
Checks to see if the File should be accepted by this filter.Defined in
FilenameFilter.- Specified by:
acceptin interfaceFilenameFilter- Parameters:
dir- the directory File to checkname- the file name within the directory to check- Returns:
- true if this file matches the test
-