|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.types.DataType | +--org.apache.tools.ant.types.AbstractFileSet | +--org.apache.tools.ant.types.FileSet | +--org.apache.tools.ant.taskdefs.Tar.TarFileSet
This is a FileSet with the option to specify permissions
Field Summary |
Fields inherited from class org.apache.tools.ant.types.DataType |
checked, description, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
Tar.TarFileSet()
|
|
Tar.TarFileSet(FileSet fileset)
|
Method Summary | |
int |
getDirMode()
|
java.lang.String[] |
getFiles(Project p)
Get a list of files and directories specified in the fileset. |
java.lang.String |
getFullpath()
|
java.lang.String |
getGroup()
|
int |
getMode()
|
java.lang.String |
getPrefix()
|
boolean |
getPreserveLeadingSlashes()
|
java.lang.String |
getUserName()
|
void |
setDirMode(java.lang.String octalString)
A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion; optional, default=0755 |
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. |
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 |
clone |
Methods inherited from class org.apache.tools.ant.types.AbstractFileSet |
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDataTypeName, getDir, getDirectoryScanner, getRef, getSelectors, hasPatterns, hasSelectors, isFollowSymlinks, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setRefid, setupDirectoryScanner, toString |
Methods inherited from class org.apache.tools.ant.types.DataType |
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Tar.TarFileSet(FileSet fileset)
public Tar.TarFileSet()
Method Detail |
public java.lang.String[] getFiles(Project p)
public void setMode(java.lang.String octalString)
public int getMode()
public void setDirMode(java.lang.String octalString)
public int getDirMode()
public void setUserName(java.lang.String userName)
public java.lang.String getUserName()
public void setGroup(java.lang.String groupName)
public java.lang.String getGroup()
public void setPrefix(java.lang.String prefix)
public java.lang.String getPrefix()
public void setFullpath(java.lang.String fullpath)
public java.lang.String getFullpath()
public void setPreserveLeadingSlashes(boolean b)
false
.
public boolean getPreserveLeadingSlashes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |