public class FileSet extends AbstractFileSet implements ResourceCollection
description, location, project| Modifier | Constructor and Description |
|---|---|
|
FileSet()
Constructor for FileSet.
|
protected |
FileSet(FileSet fileset)
Constructor for FileSet, with FileSet to shallowly clone.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Return a FileSet that has the same basedir and same patternsets
as this one.
|
protected AbstractFileSet |
getRef(Project p)
Performs the check for circular references and returns the
referenced FileSet.
|
boolean |
isFilesystemOnly()
Always returns true.
|
java.util.Iterator<Resource> |
iterator()
Fulfill the ResourceCollection contract.
|
int |
size()
Fulfill the ResourceCollection contract.
|
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, dieOnCircularReference, getDefaultexcludes, getDir, getDir, getDirectoryScanner, getDirectoryScanner, getErrorOnMissingDir, getMaxLevelsOfSymlinks, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setDir, setErrorOnMissingDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setMaxLevelsOfSymlinks, setRefid, setupDirectoryScanner, setupDirectoryScanner, toStringcheckAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributesgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisEmpty, streampublic FileSet()
protected FileSet(FileSet fileset)
fileset - the fileset to clonepublic java.lang.Object clone()
clone in class AbstractFileSetpublic java.util.Iterator<Resource> iterator()
iterator in interface java.lang.Iterable<Resource>public int size()
size in interface ResourceCollectionpublic boolean isFilesystemOnly()
isFilesystemOnly in interface ResourceCollectionprotected AbstractFileSet getRef(Project p)
AbstractFileSetgetRef()
providing implementations containing the special support
for FileSet references, which can be handled by all ArchiveFileSets.
NB! This method must be overridden in subclasses such as FileSet and DirSet
to distinguish between the data types.getRef in class AbstractFileSetp - the current project