org.apache.tools.ant.types
public class ZipFileSet extends FileSet
Field Summary | |
---|---|
static int | DEFAULT_DIR_MODE
Default value for the dirmode attribute.
|
static int | DEFAULT_FILE_MODE
Default value for the filemode attribute.
|
Constructor Summary | |
---|---|
ZipFileSet() | |
protected | ZipFileSet(FileSet fileset) |
protected | ZipFileSet(ZipFileSet fileset) |
Method Summary | |
---|---|
Object | clone()
Return a ZipFileSet that has the same properties
as this one. |
DirectoryScanner | getDirectoryScanner(Project p)
Return the DirectoryScanner associated with this FileSet.
|
int | getDirMode(Project p) |
int | getFileMode(Project p) |
String | getFullpath(Project p)
Return the full pathname of the single entry in this fileset. |
String | getPrefix(Project p)
Return the prefix prepended to entries in the zip file. |
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 |
File | getSrc(Project p)
Get the zip file from which entries will be extracted.
|
boolean | hasDirModeBeenSet()
Whether the user has specified the mode explicitly.
|
boolean | hasFileModeBeenSet()
Whether the user has specified the mode explicitly.
|
void | setDir(File dir)
Set the directory for the fileset. |
void | setDirMode(String octalString)
A 3 digit octal string, specify the user, group and
other modes in the standard Unix fashion;
optional, default=0755
|
void | setFileMode(String octalString)
A 3 digit octal string, specify the user, group and
other modes in the standard Unix fashion;
optional, default=0644
|
void | setFullpath(String fullpath)
Set the full pathname of the single entry in this fileset.
|
void | setPrefix(String prefix)
Prepend this prefix to the path for each zip entry.
|
void | setSrc(File srcFile)
Set the source Zip file for the zipfileset. |
Since: Ant 1.5.2
Since: Ant 1.5.2
Since: Ant 1.6
Since: Ant 1.5.2
Since: Ant 1.5.2
Since: Ant 1.6
Since: Ant 1.6
Since: Ant 1.5.2
Since: Ant 1.5.2
Parameters: fullpath the full pathname of the single entry in this fileset.
Parameters: prefix The prefix to prepend to entries in the zip file.
Parameters: srcFile The zip file from which to extract entries.