? PathVisitorFileFilter
java.lang.Object
org.apache.commons.io.filefilter.AbstractFileFilter
org.apache.commons.io.filefilter.PathVisitorFileFilter
- ????????:
FileFilter
,FilenameFilter
,FileVisitor<Path>
,PathFilter
,PathVisitor
,IOFileFilter
A file filter backed by a path visitor.
- ???????:
- 2.9.0
-
????
???????? org.apache.commons.io.filefilter.IOFileFilter
EMPTY_STRING_ARRAY
-
?????
????????PathVisitorFileFilter
(PathVisitor pathVisitor) Constructs a new instance that will forward calls to the given visitor. -
????
??????????boolean
Checks to see if the File should be accepted by this filter.boolean
Checks to see if the File should be accepted by this filter.accept
(Path path, BasicFileAttributes attributes) Checks to see if the Path should be accepted by this filter.visitFile
(Path path, BasicFileAttributes attributes) ??????? org.apache.commons.io.filefilter.AbstractFileFilter
handle, postVisitDirectory, preVisitDirectory, toString, visitFileFailed
??????? java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
???????? org.apache.commons.io.filefilter.IOFileFilter
and, negate, or
-
???????
-
PathVisitorFileFilter
Constructs a new instance that will forward calls to the given visitor.- ??:
pathVisitor
- visit me.
-
-
??????
-
accept
???????:AbstractFileFilter
Checks to see if the File should be accepted by this filter.- ???:
accept
????FileFilter
- ???:
accept
????IOFileFilter
- ??:
accept
???AbstractFileFilter
- ??:
file
- the File to check- ??:
- true if this file matches the test
-
accept
???????:AbstractFileFilter
Checks to see if the File should be accepted by this filter.- ???:
accept
????FilenameFilter
- ???:
accept
????IOFileFilter
- ??:
accept
???AbstractFileFilter
- ??:
dir
- the directory File to checkname
- the file name within the directory to check- ??:
- true if this file matches the test
-
accept
????????:IOFileFilter
Checks to see if the Path should be accepted by this filter.- ??:
path
- the Path to check.attributes
- the file's basic attributes (TODO may be null).- ??:
- true if this path matches the test.
-
visitFile
- ???:
visitFile
????FileVisitor<Path>
- ??:
visitFile
???AbstractFileFilter
- ??:
IOException
-