org.apache.tools.ant.types
public class TarFileSet extends ArchiveFileSet
Constructor Summary | |
---|---|
TarFileSet() Constructor for TarFileSet | |
protected | TarFileSet(FileSet fileset)
Constructor using a fileset arguement. |
protected | TarFileSet(TarFileSet fileset)
Constructor using a tarfileset arguement. |
Method Summary | |
---|---|
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() |
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() |
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(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(String userName)
The username for the tar entry
This is not the same as the UID. |
Parameters: fileset the fileset to use
Parameters: fileset the tarfileset to use
Returns: the cloned tarFileSet
Parameters: zfs the archive fileset to configure.
Returns: the group identifier.
Returns: the group name string.
Parameters: p the project to use
Returns: the abstract fileset instance
Returns: the uid for the tar entry
Returns: the user name for the tar entry
Returns: whether the group name has been explicitly set.
Returns: whether the group id has been explicitly set.
Returns: whether the user id has been explicitly set.
Returns: whether the user name has been explicitly set.
Returns: the created scanner.
Parameters: gid the group id.
Parameters: groupName the group name string.
You must not set another attribute or nest elements inside this element if you make it a reference.
Parameters: r the Reference
to use.
Throws: BuildException on error
Parameters: uid the id of the user for the tar entry.
Parameters: userName the user name for the tar entry.