org.apache.tools.ant.types
Class ZipFileSet
- Cloneable, ResourceCollection, SelectorContainer
A ZipFileSet is a FileSet with extra attributes useful in the context of
Zip/Jar tasks.
A ZipFileSet extends FileSets with the ability to extract a subset of the
entries of a Zip file for inclusion in another Zip file. It also includes
a prefix attribute which is prepended to each entry in the output Zip file.
Since ant 1.6 ZipFileSet can be defined with an id and referenced in packaging tasks
Object | clone()- Return a ZipFileSet that has the same properties
as this one.
|
String | getEncoding()- Get the encoding used for this ZipFileSet.
|
protected AbstractFileSet | getRef(Project p)- A ZipFileset accepts another ZipFileSet or a FileSet as reference
FileSets are often used by the war task for the lib attribute
|
protected ArchiveScanner | newArchiveScanner()- Return a new archive scanner based on this one.
|
void | setEncoding(String enc)- Set the encoding used for this ZipFileSet.
|
addConfigured, clone, configureFileSet, getDirMode, getDirMode, getDirectoryScanner, getFileMode, getFileMode, getFullpath, getFullpath, getPrefix, getPrefix, getSrc, getSrc, hasDirModeBeenSet, hasFileModeBeenSet, integerSetDirMode, integerSetFileMode, isFilesystemOnly, iterator, newArchiveScanner, setDir, setDirMode, setFileMode, setFullpath, setPrefix, setSrc, setSrcResource, size, toString |
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendExcludes, appendIncludes, appendSelector, clone, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDefaultexcludes, getDir, getDir, getDirectoryScanner, getDirectoryScanner, getRef, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setRefid, setupDirectoryScanner, setupDirectoryScanner, toString |
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, toString, tooManyAttributes |
ZipFileSet
public ZipFileSet()
Constructor for ZipFileSet
ZipFileSet
protected ZipFileSet(FileSet fileset)
Constructor using a fileset arguement.
fileset - the fileset to use
ZipFileSet
protected ZipFileSet(ZipFileSet fileset)
Constructor using a zipfileset arguement.
fileset - the zipfileset to use
clone
public Object clone()
Return a ZipFileSet that has the same properties
as this one.
- clone in interface ArchiveFileSet
getEncoding
public String getEncoding()
Get the encoding used for this ZipFileSet.
getRef
protected AbstractFileSet getRef(Project p)
A ZipFileset accepts another ZipFileSet or a FileSet as reference
FileSets are often used by the war task for the lib attribute
- getRef in interface AbstractFileSet
- the abstract fileset instance
setEncoding
public void setEncoding(String enc)
Set the encoding used for this ZipFileSet.
enc - encoding as String.