Class WalkCollector

  • All Implemented Interfaces:
    DirectoryWalkListener

    @Deprecated
    public class WalkCollector
    extends java.lang.Object
    implements DirectoryWalkListener
    Deprecated.
    use java.nio.file.FileVisitor and related classes
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int finishCount
      Deprecated.
       
      (package private) int percentageHigh
      Deprecated.
       
      (package private) int percentageLow
      Deprecated.
       
      (package private) int startCount
      Deprecated.
       
      (package private) java.io.File startingDir
      Deprecated.
       
      (package private) java.util.List<java.io.File> steps
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      WalkCollector()
      Deprecated.
      Create an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void debug​(java.lang.String message)
      Deprecated.
      void directoryWalkFinished()
      Deprecated.
      The directory walking has finished.
      void directoryWalkStarting​(java.io.File basedir)
      Deprecated.
      The directory walking has begun.
      void directoryWalkStep​(int percentage, java.io.File file)
      Deprecated.
      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
        Deprecated.
      • startingDir

        java.io.File startingDir
        Deprecated.
      • startCount

        int startCount
        Deprecated.
      • finishCount

        int finishCount
        Deprecated.
      • percentageLow

        int percentageLow
        Deprecated.
      • percentageHigh

        int percentageHigh
        Deprecated.
    • Constructor Detail

      • WalkCollector

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

      • debug

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

        public void directoryWalkStarting​(java.io.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,
                                      java.io.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