Class IgnoringDirectoryScanner

java.lang.Object
org.codehaus.plexus.util.AbstractScanner
org.codehaus.plexus.util.DirectoryScanner
org.apache.rat.mp.util.ignore.IgnoringDirectoryScanner
All Implemented Interfaces:
org.codehaus.plexus.util.Scanner

public class IgnoringDirectoryScanner extends org.codehaus.plexus.util.DirectoryScanner
  • Field Summary

    Fields inherited from class org.codehaus.plexus.util.DirectoryScanner

    basedir, dirsDeselected, dirsExcluded, dirsIncluded, dirsNotIncluded, everythingIncluded, filesDeselected, filesExcluded, filesIncluded, filesNotIncluded, haveSlowResults

    Fields inherited from class org.codehaus.plexus.util.AbstractScanner

    DEFAULTEXCLUDES, excludes, filenameComparator, includes, isCaseSensitive
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addIgnoreMatcher​(IgnoreMatcher ignoreMatcher)
     
    protected boolean
    isExcluded​(String name)
     
    protected boolean
    isExcluded​(String name, char[][] tokenizedName)
     
    protected boolean
    isExcluded​(String name, String[] tokenizedName)
     

    Methods inherited from class org.codehaus.plexus.util.DirectoryScanner

    getBasedir, getDeselectedDirectories, getDeselectedFiles, getExcludedDirectories, getExcludedFiles, getIncludedDirectories, getIncludedFiles, getNotIncludedDirectories, getNotIncludedFiles, isEverythingIncluded, isParentSymbolicLink, isSelected, isSymbolicLink, scan, scandir, setBasedir, setBasedir, setFollowSymlinks, slowScan

    Methods inherited from class org.codehaus.plexus.util.AbstractScanner

    addDefaultExcludes, couldHoldIncluded, isIncluded, isIncluded, isIncluded, match, match, matchPath, matchPath, matchPatternStart, matchPatternStart, setCaseSensitive, setExcludes, setFilenameComparator, setIncludes, setupDefaultFilters, setupMatchPatterns

    Methods inherited from class java.lang.Object

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

    • IgnoringDirectoryScanner

      public IgnoringDirectoryScanner()
  • Method Details

    • addIgnoreMatcher

      public void addIgnoreMatcher(IgnoreMatcher ignoreMatcher)
    • isExcluded

      protected boolean isExcluded(String name)
      Overrides:
      isExcluded in class org.codehaus.plexus.util.AbstractScanner
    • isExcluded

      protected boolean isExcluded(String name, String[] tokenizedName)
      Overrides:
      isExcluded in class org.codehaus.plexus.util.AbstractScanner
    • isExcluded

      protected boolean isExcluded(String name, char[][] tokenizedName)
      Overrides:
      isExcluded in class org.codehaus.plexus.util.AbstractScanner