? FalseFileFilter
java.lang.Object
org.apache.commons.io.filefilter.FalseFileFilter
- ????????:
FileFilter
,FilenameFilter
,Serializable
,PathFilter
,IOFileFilter
A file filter that always returns false.
- ???????:
- 1.0
- ????:
-
????
????????????static final IOFileFilter
Singleton instance of false filter.static final IOFileFilter
Singleton instance of false filter.???????? org.apache.commons.io.filefilter.IOFileFilter
EMPTY_STRING_ARRAY
-
?????
??? -
????
??????????boolean
Returns false.boolean
Returns false.accept
(Path file, BasicFileAttributes attributes) Returns false.and
(IOFileFilter fileFilter) Creates a new "and" filter with this filter.negate()
Creates a new "not" filter with this filter.or
(IOFileFilter fileFilter) Creates a new "or" filter with this filter.toString()
-
??????
-
FALSE
Singleton instance of false filter.- ???????:
- 1.3
-
INSTANCE
Singleton instance of false filter. Please use the identical FalseFileFilter.FALSE constant. The new name is more JDK 1.5 friendly as it doesn't clash with other values when using static imports.
-
-
???????
-
FalseFileFilter
protected FalseFileFilter()Restrictive constructor.
-
-
??????
-
accept
Returns false.- ???:
accept
????FileFilter
- ???:
accept
????IOFileFilter
- ??:
file
- the file to check (ignored)- ??:
- false
-
accept
Returns false.- ???:
accept
????FilenameFilter
- ???:
accept
????IOFileFilter
- ??:
dir
- the directory to check (ignored)name
- the file name (ignored)- ??:
- false
-
accept
Returns false.- ???:
accept
????IOFileFilter
- ???:
accept
????PathFilter
- ??:
file
- the file to check (ignored)attributes
- the file's basic attributes (TODO may be null).- ??:
- false
- ???????:
- 2.9.0
-
negate
????????:IOFileFilter
Creates a new "not" filter with this filter.- ???:
negate
????IOFileFilter
- ??:
- a new filter.
-
toString
-
and
????????:IOFileFilter
Creates a new "and" filter with this filter.- ???:
and
????IOFileFilter
- ??:
fileFilter
- the filter to "and".- ??:
- a new filter.
-
or
????????:IOFileFilter
Creates a new "or" filter with this filter.- ???:
or
????IOFileFilter
- ??:
fileFilter
- the filter to "or".- ??:
- a new filter.
-