public abstract class AbstractFileHandler extends java.lang.Object implements FileHandler
Constructor and Description |
---|
AbstractFileHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
directoryEnd(java.io.File dir)
The default is to do nothing and return true so that the FileWalker
can continue
|
boolean |
directoryStart(java.io.File dir,
int count)
The default is to do nothing and return true so that the FileWalker
can continue
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleException, handleFile
public boolean directoryStart(java.io.File dir, int count)
directoryStart
in interface FileHandler
dir
- The directory, the FileWalker is starting to walk throughcount
- The number of files and directories the FileWalker found in the directorypublic boolean directoryEnd(java.io.File dir)
directoryEnd
in interface FileHandler
dir
- The directory, the FileWalker has finished to walk through