org.apache.maven.shared.model.fileset.util
public class FileSetManager extends Object
Constructor Summary | |
---|---|
FileSetManager(Log log, boolean verbose)
Create a new manager instance with the supplied log instance and flag for whether to output
verbose messages.
| |
FileSetManager(Log log)
Create a new manager instance with the supplied log instance. | |
FileSetManager()
Create a new manager instance with an empty log. |
Method Summary | |
---|---|
void | delete(FileSet fileSet)
Delete the matching files and directories for the given file-set definition. |
String[] | getExcludedDirectories(FileSet fileSet)
Get all the directory names which have been excluded by the rules in this fileset. |
String[] | getExcludedFiles(FileSet fileSet)
Get all the filenames which have been excluded by the rules in this fileset. |
String[] | getIncludedDirectories(FileSet fileSet)
Get all the directory names which have been included by the rules in this fileset. |
String[] | getIncludedFiles(FileSet fileSet)
Get all the filenames which have been included by the rules in this fileset. |
Parameters: log The mojo log instance verbose Whether to output verbose messages
Parameters: log The mojo log instance
Parameters: log The mojo log instance
Parameters: fileSet The file-set matching rules, along with search base directory
Throws: IOException If a matching file cannot be deleted
Parameters: fileSet The fileset defining rules for inclusion/exclusion, and base directory.
Returns: the array of non-matching dirnames, relative to the basedir of the file-set.
Parameters: fileSet The fileset defining rules for inclusion/exclusion, and base directory.
Returns: the array of non-matching filenames, relative to the basedir of the file-set.
Parameters: fileSet The fileset defining rules for inclusion/exclusion, and base directory.
Returns: the array of matching dirnames, relative to the basedir of the file-set.
Parameters: fileSet The fileset defining rules for inclusion/exclusion, and base directory.
Returns: the array of matching filenames, relative to the basedir of the file-set.