com.bbn.openmap.util.wanderer
Interface WandererCallback

All Known Implementing Classes:
ChangeCase, DataPathWanderer, DTEDLocator, OneWaySync, OneWaySync.BackCheck, Purge, RpfDataPathWanderer, SLOC, SVGSourceFileReorganizer, TestWandererCallback

public interface WandererCallback

The Wanderer walks through a directory tree, and makes calls to the WandererCallback with what it finds. You add your WandererCallback to the Wanderer, and then just take your action on the files.


Method Summary
 boolean handleDirectory(java.io.File directory)
          Do what you need to do to the directory.
 boolean handleFile(java.io.File file)
          Do what you need to do to the file.
 

Method Detail

handleDirectory

boolean handleDirectory(java.io.File directory)
Do what you need to do to the directory.

Parameters:
directory - that represents a directory to deal with.
Returns:
true to continue wandering through to children.

handleFile

boolean handleFile(java.io.File file)
Do what you need to do to the file.

Parameters:
file - to handle.
Returns:
true to continue evaluating siblings and parent directory siblings.


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details