|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.plexus.util.AbstractScanner org.codehaus.plexus.util.DirectoryScanner org.kuali.common.util.SimpleScanner
public class SimpleScanner
This class provides a simple method for scanning a directory for files that match include/exclude patterns
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, includes, isCaseSensitive |
Constructor Summary | |
---|---|
SimpleScanner()
|
|
SimpleScanner(File baseDir,
List<String> includes,
List<String> excludes)
|
|
SimpleScanner(File baseDir,
String include,
String exclude)
|
Method Summary | |
---|---|
List<File> |
getFiles()
This method scans the file system starting at basedir and returns files matching the provided include/exclude patterns |
Methods inherited from class org.codehaus.plexus.util.DirectoryScanner |
---|
getBasedir, getDeselectedDirectories, getDeselectedFiles, getExcludedDirectories, getExcludedFiles, getIncludedDirectories, getIncludedFiles, getNotIncludedDirectories, getNotIncludedFiles, isEverythingIncluded, isSelected, isSymbolicLink, scan, scandir, setBasedir, setBasedir, setFollowSymlinks, slowScan |
Methods inherited from class org.codehaus.plexus.util.AbstractScanner |
---|
addDefaultExcludes, couldHoldIncluded, isExcluded, isIncluded, match, match, matchPath, matchPath, matchPatternStart, matchPatternStart, setCaseSensitive, setExcludes, setIncludes, setupDefaultFilters, setupMatchPatterns |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleScanner()
public SimpleScanner(File baseDir, String include, String exclude)
public SimpleScanner(File baseDir, List<String> includes, List<String> excludes)
Method Detail |
---|
public List<File> getFiles()
basedir
and returns files matching the provided include/exclude patterns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |