Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.codehaus.plexus.archiver.tar.TarArchiver.TarOptions
public class TarArchiver.TarOptions
extends java.lang.Object
Field Summary | |
private int |
|
private int |
|
private int | |
private String | |
private boolean | |
private int | |
private String |
Method Summary | |
int |
|
int |
|
String |
|
int |
|
boolean | |
int |
|
String | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
private int dirMode
Deprecated.
private int fileMode
Deprecated.
private int gid
private String groupName
private boolean preserveLeadingSlashes
private int uid
private String userName
public int getDirMode()
Deprecated. use AbstractArchiver.getDefaultDirectoryMode()
- Returns:
- the current directory mode
- Since:
- Ant 1.6
public int getGid()
- Returns:
- the group identifier.
public String getGroup()
- Returns:
- the group name string.
public int getMode()
Deprecated. use AbstractArchiver.getDefaultFileMode()
- Returns:
- the current mode.
public boolean getPreserveLeadingSlashes()
- Returns:
- the leading slashes flag.
public int getUid()
- Returns:
- the uid for the tar entry
public String getUserName()
- Returns:
- the user name for the tar entry
public void setDirMode(String octalString)
Deprecated. use AbstractArchiver.setDefaultDirectoryMode(int)
A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion; optional, default=0755
- Parameters:
octalString
- a 3 digit octal string.
- Since:
- Ant 1.6
public void setDirMode(int mode)
Deprecated. use AbstractArchiver.setDefaultDirectoryMode(int)
- Parameters:
mode
- unix directory mode
public void setGid(int gid)
The GID for the tar entry; optional, default="0" This is not the same as the group name.
- Parameters:
gid
- the group id.
public void setGroup(String groupName)
The groupname for the tar entry; optional, default="" This is not the same as the GID.
- Parameters:
groupName
- the group name string.
public void setMode(String octalString)
Deprecated. use AbstractArchiver.setDefaultFileMode(int)
A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion; optional, default=0644
- Parameters:
octalString
- a 3 digit octal string.
public void setMode(int mode)
Deprecated. use AbstractArchiver.setDefaultFileMode(int)
- Parameters:
mode
- unix file mode
public void setPreserveLeadingSlashes(boolean preserveLeadingSlashes)
Flag to indicates whether leading `/'s should be preserved in the file names. Optional, default isfalse
.
- Parameters:
preserveLeadingSlashes
- the leading slashes flag.
public void setUid(int uid)
The uid for the tar entry This is not the same as the User name.
- Parameters:
uid
- the id of the user for the tar entry.
public void setUserName(String userName)
The username for the tar entry This is not the same as the UID.
- Parameters:
userName
- the user name for the tar entry.