|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.util.wanderer.TestWandererCallback
public class TestWandererCallback
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.
| Constructor Summary | |
|---|---|
TestWandererCallback()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestWandererCallback()
| Method Detail |
|---|
public boolean handleDirectory(java.io.File directory)
WandererCallback
handleDirectory in interface WandererCallbackdirectory - that represents a directory to deal with.
public boolean handleFile(java.io.File file)
WandererCallback
handleFile in interface WandererCallbackfile - to handle.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||