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 voiddebug(java.lang.String message)voiddirectoryWalkFinished()The directory walking has finished.voiddirectoryWalkStarting(java.io.File basedir)The directory walking has begun.voiddirectoryWalkStep(int percentage, java.io.File file)The included entry that was encountered.
-
-
-
Method Detail
-
debug
public void debug(java.lang.String message)
- Specified by:
debugin interfaceDirectoryWalkListener- Parameters:
message- The message for the debugging output.
-
directoryWalkStarting
public void directoryWalkStarting(java.io.File basedir)
The directory walking has begun.- Specified by:
directoryWalkStartingin 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:
directoryWalkStepin 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:
directoryWalkFinishedin interfaceDirectoryWalkListener
-
-