org.apache.tools.ant.types

Class FileSet

Implemented Interfaces:
Cloneable, SelectorContainer
Known Direct Subclasses:
ClassfileSet, Javadoc.TagArgument, LibFileSet, Tar.TarFileSet, ZipFileSet

public class FileSet
extends AbstractFileSet

Moved out of MatchingTask to make it a standalone object that could be referenced (by scripts for example).

Field Summary

Fields inherited from class org.apache.tools.ant.types.DataType

checked, description, ref

Fields inherited from class org.apache.tools.ant.ProjectComponent

project

Constructor Summary

FileSet()
Sole constructor.
FileSet(FileSet fileset)

Method Summary

Object
clone()
Return a FileSet that has the same basedir and same patternsets as this one.

Methods inherited from class org.apache.tools.ant.types.AbstractFileSet

add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, clone, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDataTypeName, getDefaultexcludes, getDir, getDirectoryScanner, getRef, getSelectors, hasPatterns, hasSelectors, isFollowSymlinks, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setRefid, setupDirectoryScanner, toString

Methods inherited from class org.apache.tools.ant.types.DataType

checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes

Methods inherited from class org.apache.tools.ant.ProjectComponent

getProject, log, log, setProject

Constructor Details

FileSet

public FileSet()
Sole constructor.

FileSet

protected FileSet(FileSet fileset)

Method Details

clone

public Object clone()
Return a FileSet that has the same basedir and same patternsets as this one.
Overrides:
clone in interface AbstractFileSet

Copyright B) 2000-2008 Apache Software Foundation. All Rights Reserved.