DirectoryWalkListener
public class WalkCollector extends java.lang.Object implements DirectoryWalkListener
Constructor | Description |
---|---|
WalkCollector() |
Create an instance.
|
Modifier and Type | Method | 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.
|
public void debug(java.lang.String message)
debug
in interface DirectoryWalkListener
message
- The message for the debugging output.public void directoryWalkStarting(java.io.File basedir)
directoryWalkStarting
in interface DirectoryWalkListener
basedir
- the basedir that walk started in.public void directoryWalkStep(int percentage, java.io.File file)
directoryWalkStep
in interface DirectoryWalkListener
percentage
- rough percentage of the walk completed. (inaccurate)file
- the file that was included.public void directoryWalkFinished()
directoryWalkFinished
in interface DirectoryWalkListener
Copyright © 2018. All rights reserved.