Class WalkCollector

java.lang.Object
org.apache.maven.shared.utils.io.WalkCollector
All Implemented Interfaces:
DirectoryWalkListener

@Deprecated public class WalkCollector extends Object implements DirectoryWalkListener
Deprecated.
use java.nio.file.FileVisitor and related classes
  • Constructor Details

    • WalkCollector

      public WalkCollector()
      Deprecated.
      Create an instance.
  • Method Details

    • debug

      public void debug(String message)
      Deprecated.
      Specified by:
      debug in interface DirectoryWalkListener
      Parameters:
      message - the message for the debugging output
    • directoryWalkStarting

      public void directoryWalkStarting(File basedir)
      Deprecated.
      The directory walking has begun.
      Specified by:
      directoryWalkStarting in interface DirectoryWalkListener
      Parameters:
      basedir - the basedir that walk started in
    • directoryWalkStep

      public void directoryWalkStep(int percentage, File file)
      Deprecated.
      The included entry that was encountered.
      Specified by:
      directoryWalkStep in interface DirectoryWalkListener
      Parameters:
      percentage - rough percentage of the walk completed. (inaccurate)
      file - the file that was included
    • directoryWalkFinished

      public void directoryWalkFinished()
      Deprecated.
      The directory walking has finished.
      Specified by:
      directoryWalkFinished in interface DirectoryWalkListener