Package org.apache.rat.mp.util.ignore
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Constructor Details
-
IgnoringDirectoryScanner
public IgnoringDirectoryScanner()
-
-
Method Details
-
addIgnoreMatcher
-
isExcluded
- Overrides:
isExcluded
in classorg.codehaus.plexus.util.AbstractScanner
-
isExcluded
- Overrides:
isExcluded
in classorg.codehaus.plexus.util.AbstractScanner
-
isExcluded
- Overrides:
isExcluded
in classorg.codehaus.plexus.util.AbstractScanner
-