@Component(role=FileLocator.class) public class FileLocator extends Object
| Constructor and Description |
|---|
FileLocator() |
public List<String> locateFiles(String baseDir, List<String> includes, List<String> excludes)
baseDir - String containing an absolute path to a
base directory that will be searchedincludes - List containing file patterns to include in the
results setexcludes - List containing file patterns to exclude from the
results setList of file paths relative to the baseDirNullPointerException - if the baseDir parameter is nullIllegalArgumentException - if the directory at this path
specified in the baseDir parameter
does not exist or is not readableCopyright © 2014–2015. All rights reserved.