public abstract class CommonsCompressFileSet
extends org.apache.tools.ant.types.ArchiveFileSet
Modifier | Constructor and Description |
---|---|
|
CommonsCompressFileSet()
Constructor for CommonsCompressFileSet
|
protected |
CommonsCompressFileSet(CommonsCompressFileSet fileset)
Constructor using a CommonsCompressFileSet argument.
|
protected |
CommonsCompressFileSet(org.apache.tools.ant.types.FileSet fileset)
Constructor using a fileset argument.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkCommonsCompressFileSetAttributesAllowed()
A check attributes for CommonsCompressFileSet.
|
CommonsCompressFileSet |
clone()
Return a CommonsCompressFileSet that has the same properties
as this one.
|
protected void |
configureFileSet(org.apache.tools.ant.types.ArchiveFileSet zfs)
Configure a fileset based on this fileset.
|
java.lang.String |
getEncoding()
Get the encoding used for this TarFileSet.
|
int |
getGid() |
protected org.apache.tools.ant.types.AbstractFileSet |
getRef(org.apache.tools.ant.Project p)
A CommonsCompressFileSet accepts another FileSet as reference
|
boolean |
getSkipUnreadableEntries()
Whether to skip entries that Commons Compress signals it cannot read.
|
int |
getUid() |
boolean |
hasGroupIdBeenSet() |
boolean |
hasUserIdBeenSet() |
protected abstract CommonsCompressFileSet |
newFileSet(org.apache.tools.ant.types.FileSet fs)
Creates a new CommonsCompressFileSet based on the given fileset.
|
void |
setEncoding(java.lang.String enc)
Set the encoding used for this CommonsCompressFileSet.
|
void |
setGid(int gid)
The GID for the entry; optional, default="0"
This is not the same as the group name.
|
void |
setRefid(org.apache.tools.ant.types.Reference r)
Makes this instance in effect a reference to another instance.
|
void |
setSkipUnreadableEntries(boolean b)
Whether to skip entries that Commons Compress signals it cannot read.
|
void |
setUid(int uid)
The uid for the entry
This is not the same as the User name.
|
addConfigured, dieOnCircularReference, getCheckedRef, getDirectoryScanner, getDirMode, getDirMode, getFileMode, getFileMode, getFullpath, getFullpath, getPrefix, getPrefix, getSrc, getSrc, hasDirModeBeenSet, hasFileModeBeenSet, integerSetDirMode, integerSetFileMode, isFilesystemOnly, iterator, newArchiveScanner, setDir, setDirMode, setErrorOnMissingArchive, setFileMode, setFullpath, setPrefix, setSrc, setSrcResource, size, toString
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addExecutable, addFilename, addMajority, addModified, addNone, addNot, addOr, addOwnedBy, addPresent, addReadable, addSelector, addSize, addSymlink, addType, addWritable, appendExcludes, appendIncludes, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDefaultexcludes, getDir, getDir, getDirectoryScanner, getErrorOnMissingDir, getMaxLevelsOfSymlinks, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setErrorOnMissingDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setMaxLevelsOfSymlinks, setupDirectoryScanner, setupDirectoryScanner
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public CommonsCompressFileSet()
protected CommonsCompressFileSet(org.apache.tools.ant.types.FileSet fileset)
fileset
- the fileset to useprotected CommonsCompressFileSet(CommonsCompressFileSet fileset)
fileset
- the fileset to usepublic void setEncoding(java.lang.String enc)
setEncoding
in class org.apache.tools.ant.types.ArchiveFileSet
enc
- encoding as String.public java.lang.String getEncoding()
getEncoding
in class org.apache.tools.ant.types.ArchiveFileSet
public void setUid(int uid)
uid
- the id of the user for the entry.public int getUid()
public boolean hasUserIdBeenSet()
public void setGid(int gid)
gid
- the group id.public int getGid()
public boolean hasGroupIdBeenSet()
public void setSkipUnreadableEntries(boolean b)
public boolean getSkipUnreadableEntries()
public void setRefid(org.apache.tools.ant.types.Reference r) throws org.apache.tools.ant.BuildException
You must not set another attribute or nest elements inside this element if you make it a reference.
setRefid
in class org.apache.tools.ant.types.AbstractFileSet
r
- the Reference
to use.org.apache.tools.ant.BuildException
- on errorprotected org.apache.tools.ant.types.AbstractFileSet getRef(org.apache.tools.ant.Project p)
getRef
in class org.apache.tools.ant.types.AbstractFileSet
p
- the project to useprotected void configureFileSet(org.apache.tools.ant.types.ArchiveFileSet zfs)
configureFileSet
in class org.apache.tools.ant.types.ArchiveFileSet
zfs
- the archive fileset to configure.public CommonsCompressFileSet clone()
clone
in class org.apache.tools.ant.types.ArchiveFileSet
protected abstract CommonsCompressFileSet newFileSet(org.apache.tools.ant.types.FileSet fs)
protected final void checkCommonsCompressFileSetAttributesAllowed()