public interface DirectoryWalkerHandler
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
handleDirectoryEnd(File file,
Directory directory,
int depth) |
default boolean |
handleDirectoryOnError(File file,
int depth,
Throwable e) |
default void |
handleDirectoryStart(File file,
int depth) |
void |
handleFile(File file,
int depth) |
default boolean |
handleFileOnError(File file,
int depth,
Throwable e) |
default boolean |
shouldHandleDirectory(File directory,
int depth) |
default boolean |
shouldHandleFile(File file,
int depth) |
default void handleDirectoryStart(File file, int depth) throws IOException
IOExceptiondefault void handleDirectoryEnd(File file, Directory directory, int depth) throws IOException
IOExceptiondefault boolean shouldHandleDirectory(File directory, int depth) throws IOException
IOExceptiondefault boolean shouldHandleFile(File file, int depth) throws IOException
IOExceptionCopyright © 2020. All rights reserved.