public class FileSet extends Object
| Constructor and Description |
|---|
FileSet()
Constructs a new FileSet, with no base dir, with default includes and excludes
|
FileSet(String dir)
Constructs a new FileSet, with default includes and excludes, based on dir.
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getDefaultExcludes() |
static List<String> |
getDefaultIncludes() |
String |
getDir() |
List<String> |
getExcludes() |
List<Path> |
getFiles(File projectBaseDir,
org.apache.maven.plugin.logging.Log log)
Returns the files that match this FileSet
|
List<Path> |
getFiles(File projectBaseDir,
org.apache.maven.plugin.logging.Log log,
ScanListener listener)
Returns the files that match this FileSet
|
List<String> |
getIncludes() |
String |
getUri() |
String |
getUriPath() |
protected void |
resetIncludeExcludes() |
void |
setDir(String dir) |
void |
setUri(String uri) |
String |
toString() |
public FileSet()
public FileSet(String dir)
dir - The base directory of this FileSetpublic String getDir()
public void setDir(String dir)
public String getUri()
public void setUri(String uri)
protected final void resetIncludeExcludes()
public List<Path> getFiles(File projectBaseDir, org.apache.maven.plugin.logging.Log log)
projectBaseDir. - Used to relocate dir if dir does not existslog - The log to use while scanning. May be nullpublic List<Path> getFiles(File projectBaseDir, org.apache.maven.plugin.logging.Log log, ScanListener listener)
projectBaseDir. - Used to relocate dir if dir does not existslog - The log to use while scanning. May be nulllistener - The scan listener to use. May be nullpublic String getUriPath()
Copyright © 2017–2018. All rights reserved.