public class TarArchiver.TarOptions extends Object
Constructor and Description |
---|
TarArchiver.TarOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getGid() |
String |
getGroup() |
boolean |
getPreserveLeadingSlashes() |
int |
getUid() |
String |
getUserName() |
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 |
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.
|
public void setUserName(String userName)
userName
- the user name for the tar entry.public String getUserName()
public void setUid(int uid)
uid
- the id of the user for the tar entry.public int getUid()
public void setGroup(String groupName)
groupName
- the group name string.public String getGroup()
public void setGid(int gid)
gid
- the group id.public int getGid()
public boolean getPreserveLeadingSlashes()
public void setPreserveLeadingSlashes(boolean preserveLeadingSlashes)
false
.preserveLeadingSlashes
- the leading slashes flag.Copyright © 2001-2014 Codehaus. All Rights Reserved.