com.faunos.util.io.file
Class DirectoryRemover.Deleter
java.lang.Object
com.faunos.util.io.file.DirectoryRemover.Deleter
- All Implemented Interfaces:
- TraverseListener<File>
- Enclosing class:
- DirectoryRemover
protected static class DirectoryRemover.Deleter
- extends Object
- implements TraverseListener<File>
Method Summary |
void |
postorder(File node)
Invoked by the Traverser on traversing a node
in post-order. |
void |
preorder(File node)
Invoked by the Traverser on traversing a node
in pre-order. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryRemover.Deleter
protected DirectoryRemover.Deleter()
postorder
public void postorder(File node)
- Description copied from interface:
TraverseListener
- Invoked by the Traverser on traversing a node
in post-order. Every node in the tree structure is
guaranteed to be represented by exactly one invocation of this
method.
- Specified by:
postorder
in interface TraverseListener<File>
preorder
public void preorder(File node)
- Description copied from interface:
TraverseListener
- Invoked by the Traverser on traversing a node
in pre-order. Every node in the tree structure is
guaranteed to be represented by exactly one invocation of this
method.
- Specified by:
preorder
in interface TraverseListener<File>