| Constructor and Description |
|---|
FileTree() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFile(File file)
Can be used by subclasses to add specific files to the return value of
getFiles(File, String). |
List<File> |
getFiles(File baseDir,
String defaultInclude)
Return a list of files using the specified baseDir and the configured
include and exclude Ant-style glob expressions.
|
void |
setExclude(String exclude)
Add an Ant-style glob to the exclude patterns.
|
void |
setInclude(String include)
Add an Ant-style glob to the include patterns.
|
protected void addFile(File file)
getFiles(File, String).file - A file to include in the return value of
getFiles(File, String).public void setInclude(String include)
include - Add an Ant-style globpublic void setExclude(String exclude)
exclude - Add an Ant-style globpublic List<File> getFiles(File baseDir, String defaultInclude) throws org.apache.maven.plugin.MojoExecutionException
baseDir - The base directory for locating files.defaultInclude - The default include pattern to use of no include
patterns were configured.org.apache.maven.plugin.MojoExecutionException - If an exception occurs.Copyright © 2018 Bndtools. All rights reserved.