public class FileSet extends Object
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.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-2012 Eclipse Foundation. All Rights Reserved.