public static class Tar.TarFileSet extends TarFileSet
DEFAULT_DIR_MODE, DEFAULT_FILE_MODE
Constructor and Description |
---|
TarFileSet()
Creates a new
TarFileSet instance. |
TarFileSet(FileSet fileset)
Creates a new
TarFileSet instance. |
Modifier and Type | Method and Description |
---|---|
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, dieOnCircularReference, getCheckedRef, getDirectoryScanner, getDirMode, getEncoding, getFileMode, getFullpath, getPrefix, getSrc, getSrc, hasDirModeBeenSet, hasFileModeBeenSet, integerSetDirMode, integerSetFileMode, isFilesystemOnly, iterator, setDir, setDirMode, setEncoding, setErrorOnMissingArchive, setFileMode, setFullpath, setPrefix, setSrc, setSrcResource, size, toString
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addReadable, addSelector, addSize, addType, addWritable, appendExcludes, appendIncludes, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDefaultexcludes, getDir, getDir, getDirectoryScanner, getErrorOnMissingDir, getMaxLevelsOfSymlinks, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setErrorOnMissingDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setMaxLevelsOfSymlinks, setupDirectoryScanner, setupDirectoryScanner
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public TarFileSet()
TarFileSet
instance.public TarFileSet(FileSet fileset)
TarFileSet
instance.
Using a fileset as a constructor argument.fileset
- a FileSet
valuepublic String[] getFiles(Project p)
p
- the current project.public int getMode()
public boolean getPreserveLeadingSlashes()
public void setMode(String octalString)
octalString
- a 3 digit octal string.public void setPreserveLeadingSlashes(boolean b)
false
.b
- the leading slashes flag.