java.lang.Cloneable, java.lang.Iterable<Resource>, ResourceCollection, SelectorContainerTar.TarFileSetpublic class TarFileSet extends ArchiveFileSet
DEFAULT_DIR_MODE, DEFAULT_FILE_MODEdescription, location, project| Modifier | Constructor | Description |
|---|---|---|
|
TarFileSet() |
Constructor for TarFileSet
|
protected |
TarFileSet(FileSet fileset) |
Constructor using a fileset argument.
|
protected |
TarFileSet(TarFileSet fileset) |
Constructor using a tarfileset argument.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
Return a TarFileSet that has the same properties
as this one.
|
protected void |
configureFileSet(ArchiveFileSet zfs) |
Configure a fileset based on this fileset.
|
int |
getGid() |
|
java.lang.String |
getGroup() |
|
protected AbstractFileSet |
getRef(Project p) |
A TarFileset accepts another TarFileSet or a FileSet as reference
FileSets are often used by the war task for the lib attribute
|
int |
getUid() |
|
java.lang.String |
getUserName() |
|
boolean |
hasGroupBeenSet() |
|
boolean |
hasGroupIdBeenSet() |
|
boolean |
hasUserIdBeenSet() |
|
boolean |
hasUserNameBeenSet() |
|
protected ArchiveScanner |
newArchiveScanner() |
Create a new scanner.
|
void |
setGid(int gid) |
The GID for the tar entry; optional, default="0"
This is not the same as the group name.
|
void |
setGroup(java.lang.String groupName) |
The groupname for the tar entry; optional, default=""
This is not the same as the GID.
|
void |
setRefid(Reference r) |
Makes this instance in effect a reference to another instance.
|
void |
setUid(int uid) |
The uid for the tar entry
This is not the same as the User name.
|
void |
setUserName(java.lang.String userName) |
The username for the tar entry
This is not the same as the UID.
|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addExecutable, addFilename, addMajority, addModified, addNone, addNot, addOr, addOwnedBy, addPosixGroup, addPosixPermissions, 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, setupDirectoryScanneraddConfigured, dieOnCircularReference, getCheckedRef, getDirectoryScanner, getDirMode, getDirMode, getEncoding, getFileMode, getFileMode, getFullpath, getFullpath, getPrefix, getPrefix, getSrc, getSrc, hasDirModeBeenSet, hasFileModeBeenSet, integerSetDirMode, integerSetFileMode, isFilesystemOnly, iterator, setDir, setDirMode, setEncoding, setErrorOnMissingArchive, setFileMode, setFullpath, setPrefix, setSrc, setSrcResource, size, toStringcheckAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectisEmpty, streampublic TarFileSet()
protected TarFileSet(FileSet fileset)
fileset - the fileset to useprotected TarFileSet(TarFileSet fileset)
fileset - the tarfileset 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 setUid(int uid)
uid - the id of the user for the tar entry.public int getUid()
public boolean hasUserIdBeenSet()
public void setGroup(java.lang.String groupName)
groupName - the group name string.public java.lang.String getGroup()
public boolean hasGroupBeenSet()
public void setGid(int gid)
gid - the group id.public int getGid()
public boolean hasGroupIdBeenSet()
protected ArchiveScanner newArchiveScanner()
newArchiveScanner in class ArchiveFileSetpublic void setRefid(Reference r) throws BuildException
You must not set another attribute or nest elements inside this element if you make it a reference.
setRefid in class AbstractFileSetr - the Reference to use.BuildException - on errorprotected AbstractFileSet getRef(Project p)
getRef in class AbstractFileSetp - the project to useprotected void configureFileSet(ArchiveFileSet zfs)
configureFileSet in class ArchiveFileSetzfs - the archive fileset to configure.public java.lang.Object clone()
clone in class ArchiveFileSet