public class WalkCollector extends java.lang.Object implements DirectoryWalkListener
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
finishCount |
(package private) int |
percentageHigh |
(package private) int |
percentageLow |
(package private) int |
startCount |
(package private) java.io.File |
startingDir |
(package private) java.util.List<java.io.File> |
steps |
| Constructor and Description |
|---|
WalkCollector()
Create an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(java.lang.String message) |
void |
directoryWalkFinished()
The directory walking has finished.
|
void |
directoryWalkStarting(java.io.File basedir)
The directory walking has begun.
|
void |
directoryWalkStep(int percentage,
java.io.File file)
The included entry that was encountered.
|
final java.util.List<java.io.File> steps
java.io.File startingDir
int startCount
int finishCount
int percentageLow
int percentageHigh
public void debug(java.lang.String message)
debug in interface DirectoryWalkListenermessage - The message for the debugging output.public void directoryWalkStarting(java.io.File basedir)
directoryWalkStarting in interface DirectoryWalkListenerbasedir - the basedir that walk started in.public void directoryWalkStep(int percentage,
java.io.File file)
directoryWalkStep in interface DirectoryWalkListenerpercentage - rough percentage of the walk completed. (inaccurate)file - the file that was included.public void directoryWalkFinished()
directoryWalkFinished in interface DirectoryWalkListener