java.lang.Cloneable
, java.lang.Iterable<Resource>
, ResourceCollection
, SelectorContainer
public static class Tar.TarFileSet extends TarFileSet
DEFAULT_DIR_MODE, DEFAULT_FILE_MODE
description, location, project
Constructor | Description |
---|---|
TarFileSet() |
Creates a new
TarFileSet instance. |
TarFileSet(FileSet fileset) |
Creates a new
TarFileSet instance. |
Modifier and Type | Method | 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.
|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addExecutable, addFilename, addMajority, addModified, addNone, addNot, addOr, addOwnedBy, addPosixGroup, addPosixPermissions, addPresent, addReadable, addSelector, addSize, addSymlink, 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
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
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
isEmpty, stream
clone, configureFileSet, getGid, getGroup, getRef, getUid, getUserName, hasGroupBeenSet, hasGroupIdBeenSet, hasUserIdBeenSet, hasUserNameBeenSet, newArchiveScanner, setGid, setGroup, setRefid, setUid, setUserName
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()