public class FileDeleteProcessor extends AFileProcessor
FileWalker
this file processor can be used
to execute recursive and selective file deletion. That is, this processor
deletes each file and directory it receives from a FileWalker.Constructor and Description |
---|
FileDeleteProcessor()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
processFile(java.io.File file)
Deletes the given file or directory and returns true to signal that
processing may continue.
|
processObject
public boolean processFile(java.io.File file)
processFile
in interface IFileProcessor
processFile
in class AFileProcessor
file
- The file or directory to process