public class FileWalker extends Observable
| Constructor and Description |
|---|
FileWalker() |
| Modifier and Type | Method and Description |
|---|---|
void |
walk(File file,
boolean includeDirectories)
Method to call that starts the directory traversal.
|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic void walk(File file, boolean includeDirectories)
file - The top of the directory to traverse.includeDirectories - If true it will recursively
traverse the given directory.
If false, just do the files
currently found in the given
directory.Observable,
Observer,
FileObserverCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.