Class FileScanner

All Implemented Interfaces:

public class FileScanner

FileScanner is a bean which allows the iteration over a number of files from a collection of FileSet instances.

  • Field Summary

    Fields inherited from class

    target, taskName, taskType, wrapper

    Fields inherited from class

    description, location, project
  • Constructor Summary

    Constructor Description
    FileScanner​( project)  
  • Method Summary

    Modifier and Type Method Description
    void addFileset​( set)
    Adds a set of files (nested fileset attribute).
    void clear()
    Clears any file sets that have been added to this scanner
    java.util.Iterator directories()  
    boolean hasFiles()  
    java.util.Iterator iterator()  

    Methods inherited from class

    bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

    Methods inherited from class

    clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FileScanner

      public FileScanner()
    • FileScanner

      public FileScanner​( project)
  • Method Details

    • iterator

      public java.util.Iterator iterator()
    • directories

      public java.util.Iterator directories()
    • hasFiles

      public boolean hasFiles()
    • clear

      public void clear()
      Clears any file sets that have been added to this scanner
    • addFileset

      public void addFileset​( set)
      Adds a set of files (nested fileset attribute).