public class TarFileSet extends CommonsCompressFileSet
| Modifier | Constructor and Description |
|---|---|
|
TarFileSet()
Constructor for TarFileSet
|
protected |
TarFileSet(CommonsCompressFileSet fileset)
Constructor using a CommonsCompressFileSet argument.
|
protected |
TarFileSet(org.apache.tools.ant.types.FileSet fileset)
Constructor using a fileset argument.
|
protected |
TarFileSet(TarFileSet fileset)
Constructor using a tarfileset argument.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureFileSet(org.apache.tools.ant.types.ArchiveFileSet zfs)
Configure a fileset based on this fileset.
|
java.lang.String |
getGroup() |
java.lang.String |
getUserName() |
boolean |
hasGroupBeenSet() |
boolean |
hasUserNameBeenSet() |
protected org.apache.tools.ant.types.ArchiveScanner |
newArchiveScanner()
Create a new scanner.
|
protected CommonsCompressFileSet |
newFileSet(org.apache.tools.ant.types.FileSet fs)
Creates a new CommonsCompressFileSet based on the given fileset.
|
void |
setGroup(java.lang.String groupName)
The groupname for the tar entry; optional, default=""
This is not the same as the GID.
|
void |
setRefid(org.apache.tools.ant.types.Reference r)
Makes this instance in effect a reference to another instance.
|
void |
setUserName(java.lang.String userName)
The username for the tar entry
This is not the same as the UID.
|
checkCommonsCompressFileSetAttributesAllowed, clone, getEncoding, getGid, getRef, getSkipUnreadableEntries, getUid, hasGroupIdBeenSet, hasUserIdBeenSet, setEncoding, setGid, setSkipUnreadableEntries, setUidaddConfigured, dieOnCircularReference, getCheckedRef, getDirectoryScanner, getDirMode, getDirMode, getFileMode, getFileMode, getFullpath, getFullpath, getPrefix, getPrefix, getSrc, getSrc, hasDirModeBeenSet, hasFileModeBeenSet, integerSetDirMode, integerSetFileMode, isFilesystemOnly, iterator, setDir, setDirMode, setErrorOnMissingArchive, setFileMode, setFullpath, setPrefix, setSrc, setSrcResource, size, toStringadd, 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, setupDirectoryScannercheckAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributesgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic TarFileSet()
protected TarFileSet(org.apache.tools.ant.types.FileSet fileset)
fileset - the fileset to useprotected TarFileSet(TarFileSet fileset)
fileset - the tarfileset to useprotected TarFileSet(CommonsCompressFileSet fileset)
fileset - the fileset to usepublic void setUserName(java.lang.String userName)
userName - the user name for the tar entry.public java.lang.String getUserName()
public boolean hasUserNameBeenSet()
public void setGroup(java.lang.String groupName)
groupName - the group name string.public java.lang.String getGroup()
public boolean hasGroupBeenSet()
protected org.apache.tools.ant.types.ArchiveScanner newArchiveScanner()
newArchiveScanner in class org.apache.tools.ant.types.ArchiveFileSetpublic 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 CommonsCompressFileSetr - the Reference to use.org.apache.tools.ant.BuildException - on errorprotected void configureFileSet(org.apache.tools.ant.types.ArchiveFileSet zfs)
configureFileSet in class CommonsCompressFileSetzfs - the archive fileset to configure.protected CommonsCompressFileSet newFileSet(org.apache.tools.ant.types.FileSet fs)
CommonsCompressFileSetnewFileSet in class CommonsCompressFileSet