|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.archiver.tar.TarArchiver.TarOptions
public class TarArchiver.TarOptions
Valid Modes for Compression attribute to Tar Task
Constructor Summary | |
---|---|
TarArchiver.TarOptions()
|
Method Summary | |
---|---|
int |
getDirMode()
Deprecated. use AbstractArchiver.getDefaultDirectoryMode() |
int |
getGid()
|
String |
getGroup()
|
int |
getMode()
Deprecated. use AbstractArchiver.getDefaultFileMode() |
boolean |
getPreserveLeadingSlashes()
|
int |
getUid()
|
String |
getUserName()
|
void |
setDirMode(int mode)
Deprecated. use AbstractArchiver.setDefaultDirectoryMode(int) |
void |
setDirMode(String octalString)
Deprecated. use AbstractArchiver.setDefaultDirectoryMode(int) |
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(int mode)
Deprecated. use AbstractArchiver.setDefaultFileMode(int) |
void |
setMode(String octalString)
Deprecated. use AbstractArchiver.setDefaultFileMode(int) |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TarArchiver.TarOptions()
Method Detail |
---|
public void setMode(String octalString)
octalString
- a 3 digit octal string.public void setMode(int mode)
mode
- unix file modepublic int getMode()
public void setDirMode(String octalString)
octalString
- a 3 digit octal string.public void setDirMode(int mode)
mode
- unix directory modepublic int getDirMode()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |