Class FileSetManager
java.lang.Object
org.apache.maven.shared.model.fileset.util.FileSetManager
Provides operations for use with FileSet instances, such as retrieving the included/excluded files, deleting all
 matching entries, etc.
- Author:
 - jdcasey
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCreate a new manager instance with an own logger.FileSetManager(org.slf4j.Logger logger) Create a new manager instance with the supplied log instance.FileSetManager(org.slf4j.Logger logger, boolean verbose) Create a new manager instance with the supplied log instance and flag for whether to output verbose messages. - 
Method Summary
Modifier and TypeMethodDescriptionvoidDelete the matching files and directories for the given file-set definition.voidDelete 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.mapIncludedFiles(FileSet fileSet)  
- 
Constructor Details
- 
FileSetManager
public FileSetManager(org.slf4j.Logger logger, boolean verbose) Create a new manager instance with the supplied log instance and flag for whether to output verbose messages.- Parameters:
 logger- the logger instanceverbose- whether to output verbose messages
 - 
FileSetManager
public FileSetManager(org.slf4j.Logger logger) Create a new manager instance with the supplied log instance. Verbose flag is set to false.- Parameters:
 logger- The log instance
 - 
FileSetManager
public FileSetManager()Create a new manager instance with an own logger. Verbose flag is set to false. 
 - 
 - 
Method Details