Class WalkCollector

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • steps

        final java.util.List<java.io.File> steps
      • startingDir

        java.io.File startingDir
      • startCount

        int startCount
      • finishCount

        int finishCount
      • percentageLow

        int percentageLow
      • percentageHigh

        int percentageHigh
    • Constructor Detail

      • WalkCollector

        public WalkCollector()
        Create an instance.
    • Method Detail

      • debug

        public void debug​(java.lang.String message)
        Specified by:
        debug in interface DirectoryWalkListener
        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 interface DirectoryWalkListener
        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 interface DirectoryWalkListener
        Parameters:
        percentage - rough percentage of the walk completed. (inaccurate)
        file - the file that was included.