? NotFileFilter
java.lang.Object
org.apache.commons.io.filefilter.AbstractFileFilter
org.apache.commons.io.filefilter.NotFileFilter
- ????????:
FileFilter
,FilenameFilter
,Serializable
,FileVisitor<Path>
,PathFilter
,PathVisitor
,IOFileFilter
This filter produces a logical NOT of the filters specified.
- ???????:
- 1.0
- ????:
-
????
???????? org.apache.commons.io.filefilter.IOFileFilter
EMPTY_STRING_ARRAY
-
?????
????????NotFileFilter
(IOFileFilter filter) Constructs a new file filter that NOTs the result of another filter. -
????
??????????boolean
Returns the logical NOT of the underlying filter's return value for the same File.boolean
Returns the logical NOT of the underlying filter's return value for the same arguments.accept
(Path file, BasicFileAttributes attributes) Returns the logical NOT of the underlying filter's return value for the same File.toString()
Provide a String representation of this file filter.??????? org.apache.commons.io.filefilter.AbstractFileFilter
handle, postVisitDirectory, preVisitDirectory, visitFile, visitFileFailed
??????? java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
???????? org.apache.commons.io.filefilter.IOFileFilter
and, negate, or
-
???????
-
NotFileFilter
Constructs a new file filter that NOTs the result of another filter.- ??:
filter
- the filter, must not be null- ??:
IllegalArgumentException
- if the filter is null
-
-
??????
-
accept
Returns the logical NOT of the underlying filter's return value for the same File.- ???:
accept
????FileFilter
- ???:
accept
????IOFileFilter
- ??:
accept
???AbstractFileFilter
- ??:
file
- the File to check- ??:
- true if the filter returns false
-
accept
Returns the logical NOT of the underlying filter's return value for the same arguments.- ???:
accept
????FilenameFilter
- ???:
accept
????IOFileFilter
- ??:
accept
???AbstractFileFilter
- ??:
file
- the File directoryname
- the file name- ??:
- true if the filter returns false
-
accept
Returns the logical NOT of the underlying filter's return value for the same File.- ???:
accept
????IOFileFilter
- ???:
accept
????PathFilter
- ??:
file
- the File to checkattributes
- the file's basic attributes (TODO may be null).- ??:
- true if the filter returns false
- ???????:
- 2.9.0
-
toString
Provide a String representation of this file filter.- ??:
toString
???AbstractFileFilter
- ??:
- a String representation
-