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, setChanged
public 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
,
FileObserver
Copyright © 2016–2018. All rights reserved.