| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.AbstractFileSet
org.apache.tools.ant.types.FileSet
org.apache.tools.ant.types.ArchiveFileSet
org.apache.tools.ant.types.ZipFileSet
public class ZipFileSet
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
| Field Summary | 
|---|
| Fields inherited from class org.apache.tools.ant.types.ArchiveFileSet | 
|---|
| DEFAULT_DIR_MODE, DEFAULT_FILE_MODE | 
| Fields inherited from class org.apache.tools.ant.types.DataType | 
|---|
| checked, ref | 
| Fields inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| description, location, project | 
| Constructor Summary | |
|---|---|
|   | ZipFileSet()Constructor for ZipFileSet | 
| protected  | ZipFileSet(FileSet fileset)Constructor using a fileset argument. | 
| protected  | ZipFileSet(ZipFileSet fileset)Constructor using a zipfileset argument. | 
| Method Summary | |
|---|---|
|  java.lang.Object | clone()Return a ZipFileSet that has the same properties as this one. | 
|  java.lang.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(java.lang.String enc)Set the encoding used for this ZipFileSet. | 
| Methods inherited from class org.apache.tools.ant.types.ArchiveFileSet | 
|---|
| addConfigured, configureFileSet, dieOnCircularReference, getCheckedRef, getDirectoryScanner, getDirMode, getDirMode, getFileMode, getFileMode, getFullpath, getFullpath, getPrefix, getPrefix, getSrc, getSrc, hasDirModeBeenSet, hasFileModeBeenSet, integerSetDirMode, integerSetFileMode, isFilesystemOnly, iterator, setDir, setDirMode, setErrorOnMissingArchive, setFileMode, setFullpath, setPrefix, setSrc, setSrcResource, size, toString | 
| Methods inherited from class org.apache.tools.ant.types.DataType | 
|---|
| checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes | 
| Methods inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ZipFileSet()
protected ZipFileSet(FileSet fileset)
fileset - the fileset to useprotected ZipFileSet(ZipFileSet fileset)
fileset - the zipfileset to use| Method Detail | 
|---|
public void setEncoding(java.lang.String enc)
enc - encoding as String.public java.lang.String getEncoding()
protected ArchiveScanner newArchiveScanner()
newArchiveScanner in class ArchiveFileSetprotected AbstractFileSet getRef(Project p)
getRef in class AbstractFileSetp - the project to use
public java.lang.Object clone()
clone in class ArchiveFileSet| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||