Class CCTask.ProjectFileCollector

  • All Implemented Interfaces:
    FileVisitor
    Enclosing class:
    CCTask

    private static class CCTask.ProjectFileCollector
    extends java.lang.Object
    implements FileVisitor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List files  
    • Constructor Summary

      Constructors 
      Constructor Description
      ProjectFileCollector​(java.util.List files)
      Creates a new ProjectFileCollector.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void visit​(java.io.File parentDir, java.lang.String filename)
      Called for each file to be considered for collection.
      • Methods inherited from class java.lang.Object

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

      • files

        private final java.util.List files
    • Constructor Detail

      • ProjectFileCollector

        public ProjectFileCollector​(java.util.List files)
        Creates a new ProjectFileCollector.
        Parameters:
        files - vector for collected files.
    • Method Detail

      • visit

        public void visit​(java.io.File parentDir,
                          java.lang.String filename)
        Called for each file to be considered for collection.
        Specified by:
        visit in interface FileVisitor
        Parameters:
        parentDir - parent directory
        filename - filename within directory