|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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.
| Constructor Summary | |
FileSetManager()
Create a new manager instance with an empty messages. |
|
FileSetManager(org.apache.maven.plugin.logging.Log log)
Create a new manager instance with the supplied log instance. |
|
FileSetManager(org.apache.maven.plugin.logging.Log log,
boolean verbose)
Create a new manager instance with the supplied log instance and flag for whether to output verbose messages. |
|
FileSetManager(org.codehaus.plexus.logging.Logger log)
Create a new manager instance with the supplied log instance. |
|
FileSetManager(org.codehaus.plexus.logging.Logger log,
boolean verbose)
Create a new manager instance with the supplied log instance and flag for whether to output verbose messages. |
|
| 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. |
Map |
mapIncludedFiles(FileSet fileSet)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileSetManager(org.apache.maven.plugin.logging.Log log,
boolean verbose)
log - The mojo log instanceverbose - Whether to output verbose messagespublic FileSetManager(org.apache.maven.plugin.logging.Log log)
log - The mojo log instance
public FileSetManager(org.codehaus.plexus.logging.Logger log,
boolean verbose)
log - The mojo log instanceverbose - Whether to output verbose messagespublic FileSetManager(org.codehaus.plexus.logging.Logger log)
log - The mojo log instancepublic FileSetManager()
| Method Detail |
public Map mapIncludedFiles(FileSet fileSet)
throws MapperException
MapperExceptionpublic String[] getIncludedFiles(FileSet fileSet)
fileSet - The fileset defining rules for inclusion/exclusion, and base directory.
public String[] getIncludedDirectories(FileSet fileSet)
fileSet - The fileset defining rules for inclusion/exclusion, and base directory.
public String[] getExcludedFiles(FileSet fileSet)
fileSet - The fileset defining rules for inclusion/exclusion, and base directory.
public String[] getExcludedDirectories(FileSet fileSet)
fileSet - The fileset defining rules for inclusion/exclusion, and base directory.
public void delete(FileSet fileSet)
throws IOException
fileSet - The file-set matching rules, along with search base directory
IOException - If a matching file cannot be deleted
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||