setFullpath(java.lang.String fullpath)
If the fullpath attribute is set, the file in the fileset
is written with that path in the archive.
void
setGroup(java.lang.String groupName)
The groupname for the tar entry; optional, default=""
This is not the same as the GID, which is
not currently set by the task.
void
setMode(java.lang.String octalString)
A 3 digit octal string, specify the user, group and
other modes in the standard Unix fashion;
optional, default=0644
void
setPrefix(java.lang.String prefix)
If the prefix attribute is set, all files in the fileset
are prefixed with that path in the archive.
void
setPreserveLeadingSlashes(boolean b)
Flag to indicates whether leading `/'s should
be preserved in the file names.
void
setUserName(java.lang.String userName)
The username for the tar entry
This is not the same as the UID, which is
not currently set by the task.
Methods inherited from class org.apache.tools.ant.types.FileSet
Get a list of files and directories specified in the fileset.
Returns:
a list of file and directory names, relative to
the baseDir for the project.
setMode
public void setMode(java.lang.String octalString)
A 3 digit octal string, specify the user, group and
other modes in the standard Unix fashion;
optional, default=0644
getMode
public int getMode()
setUserName
public void setUserName(java.lang.String userName)
The username for the tar entry
This is not the same as the UID, which is
not currently set by the task.
getUserName
public java.lang.String getUserName()
setGroup
public void setGroup(java.lang.String groupName)
The groupname for the tar entry; optional, default=""
This is not the same as the GID, which is
not currently set by the task.
getGroup
public java.lang.String getGroup()
setPrefix
public void setPrefix(java.lang.String prefix)
If the prefix attribute is set, all files in the fileset
are prefixed with that path in the archive.
optional.
getPrefix
public java.lang.String getPrefix()
setFullpath
public void setFullpath(java.lang.String fullpath)
If the fullpath attribute is set, the file in the fileset
is written with that path in the archive. The prefix attribute,
if specified, is ignored. It is an error to have more than one file specified in
such a fileset.
getFullpath
public java.lang.String getFullpath()
setPreserveLeadingSlashes
public void setPreserveLeadingSlashes(boolean b)
Flag to indicates whether leading `/'s should
be preserved in the file names.
Optional, default is false.