Package org.apache.maven.shared.utils.io
Class WalkCollector
- java.lang.Object
-
- org.apache.maven.shared.utils.io.WalkCollector
-
- All Implemented Interfaces:
DirectoryWalkListener
public class WalkCollector extends java.lang.Object implements DirectoryWalkListener
-
-
Constructor Summary
Constructors Constructor Description WalkCollector()
Create an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
debug
public void debug(java.lang.String message)
- Specified by:
debug
in interfaceDirectoryWalkListener
- Parameters:
message
- The message for the debugging output.
-
directoryWalkStarting
public void directoryWalkStarting(java.io.File basedir)
The directory walking has begun.- Specified by:
directoryWalkStarting
in interfaceDirectoryWalkListener
- Parameters:
basedir
- the basedir that walk started in.
-
directoryWalkStep
public void directoryWalkStep(int percentage, java.io.File file)
The included entry that was encountered.- Specified by:
directoryWalkStep
in interfaceDirectoryWalkListener
- Parameters:
percentage
- rough percentage of the walk completed. (inaccurate)file
- the file that was included.
-
directoryWalkFinished
public void directoryWalkFinished()
The directory walking has finished.- Specified by:
directoryWalkFinished
in interfaceDirectoryWalkListener
-
-