public class WalkCollector extends Object implements DirectoryWalkListener
Constructor and Description |
---|
WalkCollector()
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
debug(String message) |
void |
directoryWalkFinished()
The directory walking has finished.
|
void |
directoryWalkStarting(File basedir)
The directory walking has begun.
|
void |
directoryWalkStep(int percentage,
File file)
The included entry that was encountered.
|
public void debug(String message)
debug
in interface DirectoryWalkListener
message
- The message for the debugging output.public void directoryWalkStarting(File basedir)
directoryWalkStarting
in interface DirectoryWalkListener
basedir
- the basedir that walk started in.public void directoryWalkStep(int percentage, 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 © 2002–2016 The Apache Software Foundation. All rights reserved.