org.apache.tools.ant.types
public class ZipFileSet extends ArchiveFileSet
Constructor Summary | |
---|---|
ZipFileSet() Constructor for ZipFileSet | |
protected | ZipFileSet(FileSet fileset)
Constructor using a fileset arguement. |
protected | ZipFileSet(ZipFileSet fileset)
Constructor using a zipfileset arguement. |
Method Summary | |
---|---|
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. |
Parameters: fileset the fileset to use
Parameters: fileset the zipfileset to use
Returns: the cloned zipFileSet
Returns: String encoding.
Since: Ant 1.7
Parameters: p the project to use
Returns: the abstract fileset instance
Returns: a new ZipScanner with the same encoding as this one.
Parameters: enc encoding as String.
Since: Ant 1.7