public class TrueZipFileSetManager extends Object
| Constructor and Description |
|---|
TrueZipFileSetManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(TrueZipFileSet fileSet)
Delete the matching files and directories for the given file-set definition.
|
void |
delete(TrueZipFileSet fileSet,
boolean throwsError)
Delete the matching files and directories for the given file-set definition.
|
String[] |
getExcludedDirectories(TrueZipFileSet fileSet)
Get all the directory names which have been excluded by the rules in this fileset.
|
String[] |
getExcludedFiles(TrueZipFileSet fileSet)
Get all the filenames which have been excluded by the rules in this fileset.
|
String[] |
getIncludedDirectories(TrueZipFileSet fileSet)
Get all the directory names which have been included by the rules in this fileset.
|
String[] |
getIncludedFiles(TrueZipFileSet fileSet)
Get all the filenames which have been included by the rules in this fileset.
|
Map |
mapIncludedFiles(TrueZipFileSet fileSet) |
public Map mapIncludedFiles(TrueZipFileSet fileSet) throws org.apache.maven.shared.model.fileset.mappers.MapperException
fileSet - org.apache.maven.shared.model.fileset.mappers.MapperException - if any#getIncludedFiles(FileSet)public String[] getIncludedFiles(TrueZipFileSet fileSet)
fileSet - The fileset defining rules for inclusion/exclusion, and base directory.public String[] getIncludedDirectories(TrueZipFileSet fileSet)
fileSet - The fileset defining rules for inclusion/exclusion, and base directory.public String[] getExcludedFiles(TrueZipFileSet fileSet)
fileSet - The fileset defining rules for inclusion/exclusion, and base directory.public String[] getExcludedDirectories(TrueZipFileSet fileSet)
fileSet - The fileset defining rules for inclusion/exclusion, and base directory.public void delete(TrueZipFileSet fileSet) throws IOException
fileSet - The file-set matching rules, along with search base directoryIOException - If a matching file cannot be deletedpublic void delete(TrueZipFileSet fileSet, boolean throwsError) throws IOException
fileSet - The file-set matching rules, along with search base directory.throwsError - Throw IOException when errors have occurred by deleting files or directories.IOException - If a matching file cannot be deleted and throwsError=true, otherwise print
warning messages.Copyright © 2014 Codehaus. All rights reserved.