| |
|
| 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
ZipFileSet | public class ZipFileSet extends ArchiveFileSet (Code) | | 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
|
ZipFileSet | public ZipFileSet()(Code) | | Constructor for ZipFileSet
|
ZipFileSet | protected ZipFileSet(FileSet fileset)(Code) | | Constructor using a fileset arguement.
Parameters: fileset - the fileset to use |
ZipFileSet | protected ZipFileSet(ZipFileSet fileset)(Code) | | Constructor using a zipfileset arguement.
Parameters: fileset - the zipfileset to use |
clone | public Object clone()(Code) | | Return a ZipFileSet that has the same properties
as this one.
the cloned zipFileSet |
getEncoding | public String getEncoding()(Code) | | Get the encoding used for this ZipFileSet.
String encoding. since: Ant 1.7 |
getRef | protected AbstractFileSet getRef(Project p)(Code) | | A ZipFileset accepts another ZipFileSet or a FileSet as reference
FileSets are often used by the war task for the lib attribute
Parameters: p - the project to use the abstract fileset instance |
newArchiveScanner | protected ArchiveScanner newArchiveScanner()(Code) | | Return a new archive scanner based on this one.
a new ZipScanner with the same encoding as this one. |
setEncoding | public void setEncoding(String enc)(Code) | | Set the encoding used for this ZipFileSet.
Parameters: enc - encoding as String. since: Ant 1.7 |
Fields inherited from org.apache.tools.ant.types.ArchiveFileSet | final public static int DEFAULT_DIR_MODE(Code)(Java Doc) final public static int DEFAULT_FILE_MODE(Code)(Java Doc)
|
|
|
|