org.codehaus.plexus.archiver.tar
public class TarArchiver.TarOptions extends Object
Field Summary | |
---|---|
int | dirMode |
int | fileMode |
int | gid |
String | groupName |
boolean | preserveLeadingSlashes |
int | uid |
String | userName |
Method Summary | |
---|---|
int | getDirMode() |
int | getGid() |
String | getGroup() |
int | getMode() |
boolean | getPreserveLeadingSlashes() |
int | getUid() |
String | getUserName() |
void | setDirMode(String octalString)
A 3 digit octal string, specify the user, group and
other modes in the standard Unix fashion;
optional, default=0755
|
void | setDirMode(int mode) |
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 | setMode(String octalString)
A 3 digit octal string, specify the user, group and
other modes in the standard Unix fashion;
optional, default=0644
|
void | setMode(int mode) |
void | setPreserveLeadingSlashes(boolean preserveLeadingSlashes)
Flag to indicates whether leading `/'s should
be preserved in the file names.
|
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.
|
Deprecated:
Deprecated:
Deprecated: use AbstractArchiver.getDefaultDirectoryMode()
Returns: the current directory mode
Since: Ant 1.6
Returns: the group identifier.
Returns: the group name string.
Deprecated: use AbstractArchiver.getDefaultFileMode()
Returns: the current mode.
Returns: the leading slashes flag.
Returns: the uid for the tar entry
Returns: the user name for the tar entry
Deprecated: use AbstractArchiver.setDefaultDirectoryMode(int)
A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion; optional, default=0755Parameters: octalString a 3 digit octal string.
Since: Ant 1.6
Deprecated: use AbstractArchiver.setDefaultDirectoryMode(int)
Parameters: mode unix directory mode
Parameters: gid the group id.
Parameters: groupName the group name string.
Deprecated: use AbstractArchiver.setDefaultFileMode(int)
A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion; optional, default=0644Parameters: octalString a 3 digit octal string.
Deprecated: use AbstractArchiver.setDefaultFileMode(int)
Parameters: mode unix file mode
false
.
Parameters: preserveLeadingSlashes the leading slashes flag.
Parameters: uid the id of the user for the tar entry.
Parameters: userName the user name for the tar entry.