public static class Tar.TarFileSet extends TarFileSet
DEFAULT_DIR_MODE, DEFAULT_FILE_MODE
description, location, project
Constructor and Description |
---|
TarFileSet()
Creates a new
TarFileSet instance. |
TarFileSet(FileSet fileset)
Creates a new
TarFileSet instance. |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getFiles(Project p)
Get a list of files and directories specified in the fileset.
|
int |
getMode() |
boolean |
getPreserveLeadingSlashes() |
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 |
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, getDirMode, getEncoding, getFileMode, getFileMode, getFullpath, getFullpath, getPrefix, 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(FileSet fileset)
TarFileSet
instance.
Using a fileset as a constructor argument.fileset
- a FileSet
valuepublic TarFileSet()
TarFileSet
instance.public java.lang.String[] getFiles(Project p)
p
- the current project.public void setMode(java.lang.String octalString)
octalString
- a 3 digit octal string.public int getMode()
public void setPreserveLeadingSlashes(boolean b)
false
.b
- the leading slashes flag.public boolean getPreserveLeadingSlashes()