public class FileSet extends AbstractFileSet
http://en.wikibooks.org/wiki/Apache_Ant/Fileset
. This is not a complete equivalent
implementation of the ant fileset. Only the subset needed for PDE root files is supported.defaultExcludePatterns, includePattern
Constructor and Description |
---|
FileSet(File baseDir,
String pattern)
Equivalent to
FileSet(File, String, boolean) with useDefaultExludes == true. |
FileSet(File baseDir,
String pattern,
boolean useDefaultExcludes)
Creates a fileset.
|
Modifier and Type | Method and Description |
---|---|
File |
getBaseDir() |
FileToPathMap |
scan()
Scan the filesystem below baseDir for matching files.
|
matches
public FileSet(File baseDir, String pattern)
FileSet(File, String, boolean)
with useDefaultExludes == true.public FileSet(File baseDir, String pattern, boolean useDefaultExcludes)
baseDir
- the base directory to scanpattern
- ant file inclusion pattern (relative to baseDir). Wildcards **,* and ? are
supported.useDefaultExcludes
- whether to use default file excludes for typical SCM metadata files.public File getBaseDir()
public FileToPathMap scan()
Copyright © 2008–2014 Eclipse Foundation. All rights reserved.