org.apache.tools.ant.taskdefs
Class Tar.TarFileSet
- Tar
- Cloneable, ResourceCollection, SelectorContainer
public static class Tar.TarFileSet
This is a FileSet with the option to specify permissions
and other attributes.
String[] | getFiles(Project p) - Get a list of files and directories specified in the fileset.
|
int | getMode()
|
boolean | getPreserveLeadingSlashes()
|
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 | setPreserveLeadingSlashes(boolean b) - Flag to indicates whether leading `/'s should
be preserved in the file names.
|
clone , configureFileSet , getGid , getGroup , getRef , getUid , getUserName , hasGroupBeenSet , hasGroupIdBeenSet , hasUserIdBeenSet , hasUserNameBeenSet , newArchiveScanner , setGid , setGroup , setRefid , setUid , setUserName |
addConfigured , clone , configureFileSet , getDirMode , getDirMode , getDirectoryScanner , getFileMode , getFileMode , getFullpath , getFullpath , getPrefix , getPrefix , getSrc , getSrc , hasDirModeBeenSet , hasFileModeBeenSet , integerSetDirMode , integerSetFileMode , isFilesystemOnly , iterator , newArchiveScanner , setDir , setDirMode , setFileMode , setFullpath , setPrefix , setSrc , setSrcResource , size , toString |
add , addAnd , addContains , addContainsRegexp , addCustom , addDate , addDepend , addDepth , addDifferent , addFilename , addMajority , addModified , addNone , addNot , addOr , addPresent , addSelector , addSize , addType , appendExcludes , appendIncludes , appendSelector , clone , createExclude , createExcludesFile , createInclude , createIncludesFile , createPatternSet , getDefaultexcludes , getDir , getDir , getDirectoryScanner , getDirectoryScanner , getRef , getSelectors , hasPatterns , hasSelectors , isCaseSensitive , isFollowSymlinks , mergeExcludes , mergeIncludes , mergePatterns , selectorCount , selectorElements , setCaseSensitive , setDefaultexcludes , setDir , setExcludes , setExcludesfile , setFile , setFollowSymlinks , setIncludes , setIncludesfile , setRefid , setupDirectoryScanner , setupDirectoryScanner , toString |
checkAttributesAllowed , checkChildrenAllowed , circularReference , clone , dieOnCircularReference , dieOnCircularReference , dieOnCircularReference , getCheckedRef , getCheckedRef , getCheckedRef , getCheckedRef , getDataTypeName , getRefid , invokeCircularReferenceCheck , isChecked , isReference , noChildrenAllowed , setChecked , setRefid , toString , tooManyAttributes |
TarFileSet
public TarFileSet()
Creates a new TarFileSet
instance.
TarFileSet
public TarFileSet(FileSet fileset)
Creates a new TarFileSet
instance.
Using a fileset as a constructor argument.
fileset
- a FileSet
value
getFiles
public String[] getFiles(Project p)
Get a list of files and directories specified in the fileset.
- a list of file and directory names, relative to
the baseDir for the project.
getMode
public int getMode()
getPreserveLeadingSlashes
public boolean getPreserveLeadingSlashes()
- the leading slashes flag.
setMode
public void setMode(String octalString)
A 3 digit octal string, specify the user, group and
other modes in the standard Unix fashion;
optional, default=0644
octalString
- a 3 digit octal string.
setPreserveLeadingSlashes
public void setPreserveLeadingSlashes(boolean b)
Flag to indicates whether leading `/'s should
be preserved in the file names.
Optional, default is false
.
b
- the leading slashes flag.