public class SimpleScanner extends org.codehaus.plexus.util.DirectoryScanner
Constructor and Description |
---|
SimpleScanner() |
SimpleScanner(File baseDir,
List<String> includes,
List<String> excludes) |
SimpleScanner(File baseDir,
String include,
String exclude) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getDirectories()
This method scans the file system starting at
basedir and returns directory names matching the provided include/exclude patterns |
List<File> |
getFiles()
This method scans the file system starting at
basedir and returns files matching the provided include/exclude patterns |
getBasedir, getDeselectedDirectories, getDeselectedFiles, getExcludedDirectories, getExcludedFiles, getIncludedDirectories, getIncludedFiles, getNotIncludedDirectories, getNotIncludedFiles, isEverythingIncluded, isSelected, isSymbolicLink, scan, scandir, setBasedir, setBasedir, setFollowSymlinks, slowScan
addDefaultExcludes, couldHoldIncluded, isExcluded, isExcluded, isIncluded, isIncluded, match, match, matchPath, matchPath, matchPatternStart, matchPatternStart, setCaseSensitive, setExcludes, setIncludes, setupDefaultFilters, setupMatchPatterns
public SimpleScanner()
public SimpleScanner(File baseDir, String include, String exclude)
public List<File> getFiles()
basedir
and returns files matching the provided include/exclude patternspublic List<String> getDirectories()
basedir
and returns directory names matching the provided include/exclude patternsCopyright © 2010–2014 The Kuali Foundation. All rights reserved.