|
ZipFileSet (Apache Ant API)
org.apache.tools.ant.types
|
Field Summary |
Fields inherited from class org.apache.tools.ant.types.DataType |
checked, description, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
|
ZipFileSet()
|
protected |
ZipFileSet(FileSet fileset)
|
Method Summary | |
DirectoryScanner |
getDirectoryScanner(Project p)
Return the DirectoryScanner associated with this FileSet. |
java.lang.String |
getFullpath()
Return the full pathname of the single entry in this fileset. |
java.lang.String |
getPrefix()
Return the prefix prepended to entries in the zip file. |
protected AbstractFileSet |
getRef(Project p)
A ZipFileset can accept any fileset as a reference as it just uses the standard directory scanner. |
java.io.File |
getSrc()
Get the zip file from which entries will be extracted. |
void |
setDir(java.io.File dir)
Set the directory for the fileset. |
void |
setFullpath(java.lang.String fullpath)
Set the full pathname of the single entry in this fileset. |
void |
setPrefix(java.lang.String prefix)
Prepend this prefix to the path for each zip entry. |
void |
setSrc(java.io.File srcFile)
Set the source Zip file for the zipfileset. |
Methods inherited from class org.apache.tools.ant.types.FileSet |
clone |
Methods inherited from class org.apache.tools.ant.types.AbstractFileSet |
addAnd, addContains, addCustom, addDate, addDepend, addDepth, addFilename, addMajority, addNone, addNot, addOr, addPresent, addSelector, addSize, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDataTypeName, getDir, getSelectors, hasPatterns, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setRefid, setupDirectoryScanner |
Methods inherited from class org.apache.tools.ant.types.DataType |
circularReference, dieOnCircularReference, getCheckedRef, getDescription, isReference, noChildrenAllowed, setDescription, tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZipFileSet()
protected ZipFileSet(FileSet fileset)
Method Detail |
public void setDir(java.io.File dir) throws BuildException
setDir
in class AbstractFileSet
public void setSrc(java.io.File srcFile)
srcFile
- The zip file from which to extract entries.public java.io.File getSrc()
public void setPrefix(java.lang.String prefix)
prefix
- The prefix to prepend to entries in the zip file.public java.lang.String getPrefix()
public void setFullpath(java.lang.String fullpath)
fullpath
- the full pathname of the single entry in this fileset.public java.lang.String getFullpath()
public DirectoryScanner getDirectoryScanner(Project p)
getDirectoryScanner
in class AbstractFileSet
protected AbstractFileSet getRef(Project p)
getRef
in class AbstractFileSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |